From d971f3ec89b1b4fc83e01f21816ec1b66c03b3dc Mon Sep 17 00:00:00 2001 From: mhartington Date: Tue, 26 Jan 2016 10:19:12 -0700 Subject: [PATCH] docs(toolbar): add subheader and footer examples Closes #5174. Closes #5063 --- ionic/components/toolbar/toolbar.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/ionic/components/toolbar/toolbar.ts b/ionic/components/toolbar/toolbar.ts index 38888a9d44..3d9e46966b 100644 --- a/ionic/components/toolbar/toolbar.ts +++ b/ionic/components/toolbar/toolbar.ts @@ -64,14 +64,35 @@ export class ToolbarBase extends Ion { * @description * The toolbar is generic bar that sits above or below content. * Unlike an `Navbar`, `Toolbar` can be used for a subheader as well. + * Since it's based on flexbox, you can place the toolbar where you + * need it and flexbox will handle everythign else. Toolbars will automatically + * assmue they should be placed before an `ion-content`, so to specifcy that you want it + * below, you can add the property `placement="bottom"`. This will change the flex order + * property. + * * @usage * ```html * * My Toolbar Title * * + * + * I'm a subheader + * + * * + * + * + * I'm a footer + * + * * ``` + * + * @property {any} [placement] - set position of the toolbar, top or bottom * @demo /docs/v2/demos/toolbar/ * @see {@link ../../navbar/Navbar/ Navbar API Docs} */