fix(react): add class based APIs (#16665)

fixes #16583
This commit is contained in:
Manu MA
2018-12-11 01:08:00 +01:00
committed by GitHub
parent 64557a7bcc
commit 2933f61e8d
32 changed files with 117 additions and 67 deletions

View File

@ -832,7 +832,7 @@ export class IonSpinner {
}
export declare interface IonSplitPane extends StencilComponents<'IonSplitPane'> {}
@Component({ selector: 'ion-split-pane', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '<ng-content></ng-content>', inputs: ['disabled', 'when'] })
@Component({ selector: 'ion-split-pane', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '<ng-content></ng-content>', inputs: ['contentId', 'disabled', 'when'] })
export class IonSplitPane {
ionChange!: EventEmitter<CustomEvent>;
ionSplitPaneVisible!: EventEmitter<CustomEvent>;
@ -840,7 +840,7 @@ export class IonSplitPane {
constructor(c: ChangeDetectorRef, r: ElementRef) {
c.detach();
const el = r.nativeElement;
proxyInputs(this, el, ['disabled', 'when']);
proxyInputs(this, el, ['contentId', 'disabled', 'when']);
proxyOutputs(this, el, ['ionChange', 'ionSplitPaneVisible']);
}
}