mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
docs(nav, navbar): nav and navbar updates
This commit is contained in:
@ -8,6 +8,8 @@ import {NavController} from './nav-controller';
|
|||||||
import {ViewController} from './view-controller';
|
import {ViewController} from './view-controller';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @name Nav
|
||||||
|
* @description
|
||||||
* _For a quick walkthrough of navigation in Ionic, check out the
|
* _For a quick walkthrough of navigation in Ionic, check out the
|
||||||
* [Navigation section](../../../../components/#navigation) of the Component
|
* [Navigation section](../../../../components/#navigation) of the Component
|
||||||
* docs._
|
* docs._
|
||||||
|
@ -62,6 +62,32 @@ class ToolbarBackground {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Navbar
|
* @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}
|
* @see {@link ../../toolbar/Toolbar/ Toolbar API Docs}
|
||||||
*/
|
*/
|
||||||
@Component({
|
@Component({
|
||||||
|
Reference in New Issue
Block a user