mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 17:42:15 +08:00
chore(directives): update ng directives
This commit is contained in:
@ -666,13 +666,14 @@ export class SplitPane {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export declare interface Tab extends StencilComponents.IonTab {}
|
export declare interface Tab extends StencilComponents.IonTab {}
|
||||||
@Directive({selector: 'ion-tab', inputs: ['active', 'btnId', 'delegate', 'label', 'href', 'icon', 'badge', 'badgeColor', 'component', 'name', 'disabled', 'selected', 'show', 'tabsHideOnSubPages'], outputs: ['ionSelect']})
|
@Directive({selector: 'ion-tab', inputs: ['active', 'btnId', 'delegate', 'label', 'href', 'icon', 'badge', 'badgeColor', 'component', 'name', 'disabled', 'selected', 'show', 'tabsHideOnSubPages'], outputs: ['ionSelect', 'ionTabMutated']})
|
||||||
export class Tab {
|
export class Tab {
|
||||||
ionSelect: EventEmitter<any>;
|
ionSelect: EventEmitter<any>;
|
||||||
|
ionTabMutated: EventEmitter<any>;
|
||||||
constructor(r: ElementRef) {
|
constructor(r: ElementRef) {
|
||||||
proxyMethods(this, r, ['getTabId', 'setActive']);
|
proxyMethods(this, r, ['getTabId', 'setActive']);
|
||||||
proxyInputs(this, r, ['active', 'btnId', 'delegate', 'label', 'href', 'icon', 'badge', 'badgeColor', 'component', 'name', 'disabled', 'selected', 'show', 'tabsHideOnSubPages']);
|
proxyInputs(this, r, ['active', 'btnId', 'delegate', 'label', 'href', 'icon', 'badge', 'badgeColor', 'component', 'name', 'disabled', 'selected', 'show', 'tabsHideOnSubPages']);
|
||||||
proxyOutputs(this, ['ionSelect']);
|
proxyOutputs(this, ['ionSelect', 'ionTabMutated']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user