mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
BREAKING CHANGE: The `detail` payload for the `ionInput` event on `ion-input` and `ion-textarea` now contains an object with the current `value` as well as the native event that triggered `ionInput`.
15 lines
318 B
TypeScript
15 lines
318 B
TypeScript
export interface TextareaChangeEventDetail {
|
|
value?: string | null;
|
|
event?: Event;
|
|
}
|
|
|
|
export interface TextareaInputEventDetail {
|
|
value?: string | null;
|
|
event?: Event;
|
|
}
|
|
|
|
export interface TextareaCustomEvent<T = TextareaChangeEventDetail> extends CustomEvent {
|
|
detail: T;
|
|
target: HTMLIonTextareaElement;
|
|
}
|