fix(tab-button): allow standalone tab-button (#16905)

* fix(tab-button): allow standalone tab-button

fixes #16845

* fix lint issue
This commit is contained in:
Manu MA
2018-12-31 12:51:36 +01:00
committed by GitHub
parent 302be5392c
commit 6ca7645258
6 changed files with 30 additions and 27 deletions

View File

@ -893,7 +893,7 @@ export class IonTabBar {
proxyInputs(IonTabBar, ['mode', 'color', 'selectedTab', 'translucent']);
export declare interface IonTabButton extends StencilComponents<'IonTabButton'> {}
@Component({ selector: 'ion-tab-button', changeDetection: 0, template: '<ng-content></ng-content>', inputs: ['mode', 'layout', 'href', 'tab', 'disabled'] })
@Component({ selector: 'ion-tab-button', changeDetection: 0, template: '<ng-content></ng-content>', inputs: ['selected', 'mode', 'layout', 'href', 'tab', 'disabled'] })
export class IonTabButton {
ionTabButtonClick!: EventEmitter<CustomEvent>;
el: HTMLElement
@ -903,7 +903,7 @@ export class IonTabButton {
proxyOutputs(this, this.el, ['ionTabButtonClick']);
}
}
proxyInputs(IonTabButton, ['mode', 'layout', 'href', 'tab', 'disabled']);
proxyInputs(IonTabButton, ['selected', 'mode', 'layout', 'href', 'tab', 'disabled']);
export declare interface IonText extends StencilComponents<'IonText'> {}
@Component({ selector: 'ion-text', changeDetection: 0, template: '<ng-content></ng-content>', inputs: ['color', 'mode'] })