mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
resolves #26828 BREAKING CHANGE: The `detail` payload for the `ionInput` event now on `ion-searchbar` contains an object with the current `value` as well as the native event that triggered `ionInput`.
15 lines
316 B
TypeScript
15 lines
316 B
TypeScript
export interface SearchbarChangeEventDetail {
|
|
value?: string | null;
|
|
event?: Event;
|
|
}
|
|
|
|
export interface SearchbarInputEventDetail {
|
|
value?: string | null;
|
|
event?: Event;
|
|
}
|
|
|
|
export interface SearchbarCustomEvent extends CustomEvent {
|
|
detail: SearchbarChangeEventDetail;
|
|
target: HTMLIonSearchbarElement;
|
|
}
|