diff --git a/src/components/toolbar/toolbar.ts b/src/components/toolbar/toolbar.ts index cdf365221a..57af427b38 100644 --- a/src/components/toolbar/toolbar.ts +++ b/src/components/toolbar/toolbar.ts @@ -6,7 +6,31 @@ import { ViewController } from '../nav/view-controller'; /** - * @private + * @name Header + * @description + * Header is a parent compnent that holds the navbar and toolbar component. + * It's important to note that `ion-header` needs to be the one of the three root elements of a page + * + * @usage + * + * ```ts + * @Component({ + * template: ` + * + * + * Page1 + * + * + * + * Subheader + * + * + * + * + * ` + * }) + * ``` + * */ @Directive({ selector: 'ion-header' @@ -21,7 +45,26 @@ export class Header { /** - * @private + * @name Footer + * @description + * Footer is a root component of a page that sits at the bottom of the page. + * Footer can be a wrapper for `ion-toolbar` to make sure the content area is sized correctly. + * + * @usage + * + * ```ts + * @Component({ + * template: ` + * + * + * + * Footer + * + * + * ` + * }) + * ``` + * */ @Directive({ selector: 'ion-footer'