mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
fix(input): ionInput event emits with type of InputEvent (#24111)
The ionInput event for both ion-input and ion-textarea will emit with a type of InputEvent.
This commit is contained in:
4
core/src/components.d.ts
vendored
4
core/src/components.d.ts
vendored
@ -4791,7 +4791,7 @@ declare namespace LocalJSX {
|
||||
/**
|
||||
* Emitted when a keyboard input occurred.
|
||||
*/
|
||||
"onIonInput"?: (event: CustomEvent<KeyboardEvent>) => void;
|
||||
"onIonInput"?: (event: CustomEvent<InputEvent>) => void;
|
||||
/**
|
||||
* Emitted when the styles change.
|
||||
*/
|
||||
@ -6498,7 +6498,7 @@ declare namespace LocalJSX {
|
||||
/**
|
||||
* Emitted when a keyboard input occurred.
|
||||
*/
|
||||
"onIonInput"?: (event: CustomEvent<KeyboardEvent>) => void;
|
||||
"onIonInput"?: (event: CustomEvent<InputEvent>) => void;
|
||||
/**
|
||||
* Emitted when the styles change.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user