mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(navbar): update docs
This commit is contained in:
@@ -68,7 +68,7 @@ class ToolbarBackground {
|
||||
* ```html
|
||||
* <ion-navbar *navbar>
|
||||
*
|
||||
* <ion-buttons>
|
||||
* <ion-buttons start>
|
||||
* <button (click)="toggleItems()">
|
||||
* toggle
|
||||
* </button>
|
||||
@@ -78,7 +78,7 @@ class ToolbarBackground {
|
||||
* Page Title
|
||||
* </ion-title>
|
||||
*
|
||||
* <ion-buttons>
|
||||
* <ion-buttons end>
|
||||
* <button (click)="openModal()">
|
||||
* Modal
|
||||
* </button>
|
||||
@@ -117,6 +117,10 @@ export class Navbar extends ToolbarBase {
|
||||
private _bbRef: ElementRef;
|
||||
private _bbtRef: ElementRef;
|
||||
private _bgRef: ElementRef;
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Input() hideBackButton: any;
|
||||
|
||||
constructor(
|
||||
@@ -144,6 +148,9 @@ export class Navbar extends ToolbarBase {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
setBackButtonText(text: string) {
|
||||
this._bbText = text;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user