feat(toggle): ionChange will only emit from user committed changes (#26078)

Co-authored-by: Sean Perkins <sean@ionic.io>
This commit is contained in:
Amanda Johnston
2022-10-10 09:55:58 -05:00
committed by GitHub
parent e2cbeeb8ac
commit 85d3bd99be
6 changed files with 27 additions and 16 deletions

View File

@ -6725,7 +6725,7 @@ declare namespace LocalJSX {
*/
"onIonBlur"?: (event: IonToggleCustomEvent<void>) => void;
/**
* Emitted when the value property has changed.
* Emitted when the user switches the toggle on or off. Does not emit when programmatically changing the value of the `checked` property.
*/
"onIonChange"?: (event: IonToggleCustomEvent<ToggleChangeEventDetail>) => void;
/**