chore(picker): mark ionInputModeChange as internal (#28701)

This commit is contained in:
Liam DeBeasi
2023-12-13 17:51:23 -05:00
committed by GitHub
parent cd5c099dd3
commit e574ffe85a
4 changed files with 5 additions and 15 deletions

View File

@ -909,7 +909,6 @@ ion-note,css-prop,--color
ion-picker,shadow
ion-picker,prop,mode,"ios" | "md",undefined,false,false
ion-picker,event,ionInputModeChange,PickerChangeEventDetail,true
ion-picker,css-prop,--fade-background-rgb
ion-picker,css-prop,--highlight-background
ion-picker,css-prop,--highlight-border-radius

View File

@ -26,6 +26,9 @@ export class Picker implements ComponentInterface {
@Element() el!: HTMLIonPickerElement;
/**
* @internal
*/
@Event() ionInputModeChange!: EventEmitter<PickerChangeEventDetail>;
/**

View File

@ -1432,17 +1432,11 @@ export class IonPicker {
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
c.detach();
this.el = r.nativeElement;
proxyOutputs(this, this.el, ['ionInputModeChange']);
}
}
import type { PickerChangeEventDetail as IIonPickerPickerChangeEventDetail } from '@ionic/core';
export declare interface IonPicker extends Components.IonPicker {
ionInputModeChange: EventEmitter<CustomEvent<IIonPickerPickerChangeEventDetail>>;
}
export declare interface IonPicker extends Components.IonPicker {}
@ProxyCmp({

View File

@ -1426,17 +1426,11 @@ export class IonPicker {
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
c.detach();
this.el = r.nativeElement;
proxyOutputs(this, this.el, ['ionInputModeChange']);
}
}
import type { PickerChangeEventDetail as IIonPickerPickerChangeEventDetail } from '@ionic/core/components';
export declare interface IonPicker extends Components.IonPicker {
ionInputModeChange: EventEmitter<CustomEvent<IIonPickerPickerChangeEventDetail>>;
}
export declare interface IonPicker extends Components.IonPicker {}
@ProxyCmp({