mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
feat(segment): ionChange will only emit from user committed changes (#25934)
This commit is contained in:
6
core/src/components.d.ts
vendored
6
core/src/components.d.ts
vendored
@ -2455,7 +2455,7 @@ export namespace Components {
|
||||
/**
|
||||
* the value of the segment.
|
||||
*/
|
||||
"value"?: string | null;
|
||||
"value"?: string;
|
||||
}
|
||||
interface IonSegmentButton {
|
||||
/**
|
||||
@ -6212,7 +6212,7 @@ declare namespace LocalJSX {
|
||||
*/
|
||||
"onIonChange"?: (event: IonSegmentCustomEvent<SegmentChangeEventDetail>) => void;
|
||||
/**
|
||||
* Emitted when user has dragged over a new button
|
||||
* Emitted when the value of the segment changes from user committed actions or from externally assigning a value.
|
||||
*/
|
||||
"onIonSelect"?: (event: IonSegmentCustomEvent<SegmentChangeEventDetail>) => void;
|
||||
/**
|
||||
@ -6234,7 +6234,7 @@ declare namespace LocalJSX {
|
||||
/**
|
||||
* the value of the segment.
|
||||
*/
|
||||
"value"?: string | null;
|
||||
"value"?: string;
|
||||
}
|
||||
interface IonSegmentButton {
|
||||
/**
|
||||
|
Reference in New Issue
Block a user