docs(nav, navbar): nav and navbar updates

This commit is contained in:
mhartington
2015-12-16 21:02:41 -05:00
parent 82d3f4745d
commit 25d478bd6d
2 changed files with 28 additions and 0 deletions

View File

@ -8,6 +8,8 @@ import {NavController} from './nav-controller';
import {ViewController} from './view-controller';
/**
* @name Nav
* @description
* _For a quick walkthrough of navigation in Ionic, check out the
* [Navigation section](../../../../components/#navigation) of the Component
* docs._

View File

@ -62,6 +62,32 @@ class ToolbarBackground {
/**
* @name Navbar
* @description
* Navbar is a global level toolbar that gets updated every time a page gets
* loaded. You can pass the navbar a `ion-title` or any number of buttons.
*
* @usage
* ```html
* <ion-navbar *navbar>
*
* <ion-buttons>
* <button (click)="toggleItems()">
* toggle
* </button>
* </ion-buttons>
*
* <ion-title>
* Page Title
* </ion-title>
*
* <ion-buttons>
* <button (click)="openModal()">
* Modal
* </button>
* </ion-buttons>
* </ion-navbar>
* ```
*
* @see {@link ../../toolbar/Toolbar/ Toolbar API Docs}
*/
@Component({