mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
docs(tabs): update docs
This commit is contained in:
@ -21,6 +21,7 @@ import {isUndefined} from '../../util/util';
|
|||||||
* @property {any} [tabbarPlacement] - set position of the tabbar, top or bottom
|
* @property {any} [tabbarPlacement] - set position of the tabbar, top or bottom
|
||||||
* @property {any} [tabbarIcons] - set the position of the tabbar's icons: top, bottom, left, right, hide
|
* @property {any} [tabbarIcons] - set the position of the tabbar's icons: top, bottom, left, right, hide
|
||||||
* @property {any} [preloadTabs] - sets whether to preload all the tabs, true or false
|
* @property {any} [preloadTabs] - sets whether to preload all the tabs, true or false
|
||||||
|
* @property {any} (change) - expression you want to evaluate when the tabs chage
|
||||||
* @usage
|
* @usage
|
||||||
* ```html
|
* ```html
|
||||||
* <ion-tabs>
|
* <ion-tabs>
|
||||||
@ -81,15 +82,40 @@ export class Tabs extends Ion {
|
|||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
navbarContainerRef: ViewContainerRef;
|
navbarContainerRef: ViewContainerRef;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
subPages: boolean;
|
subPages: boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
@Input() selectedIndex: any;
|
@Input() selectedIndex: any;
|
||||||
|
/**
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
@Input() preloadTabs: any;
|
@Input() preloadTabs: any;
|
||||||
|
/**
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
@Input() tabbarIcons: string;
|
@Input() tabbarIcons: string;
|
||||||
|
/**
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
@Input() tabbarPlacement: string;
|
@Input() tabbarPlacement: string;
|
||||||
|
/**
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
@Output() change: EventEmitter<Tab> = new EventEmitter();
|
@Output() change: EventEmitter<Tab> = new EventEmitter();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
@ViewChild(TabHighlight) private _highlight: TabHighlight;
|
@ViewChild(TabHighlight) private _highlight: TabHighlight;
|
||||||
|
/**
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
@ViewChildren(TabButton) private _btns;
|
@ViewChildren(TabButton) private _btns;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
|
Reference in New Issue
Block a user