mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 10:41:13 +08:00
feat(accordion): ionChange will only emit from user committed changes (#25922)
BREAKING CHANGE: `ionChange` is no longer emitted when the `value` of `ion-accordion-group` is modified externally. `ionChange` is only emitted from user committed changes, such as clicking or tapping the accordion header.
This commit is contained in:
@ -31,7 +31,10 @@ export class IonAccordion {
|
||||
import type { AccordionGroupChangeEventDetail as IAccordionGroupAccordionGroupChangeEventDetail } from '@ionic/core';
|
||||
export declare interface IonAccordionGroup extends Components.IonAccordionGroup {
|
||||
/**
|
||||
* Emitted when the value property has changed.
|
||||
* Emitted when the value property has changed
|
||||
as a result of a user action such as a click.
|
||||
This event will not emit when programmatically setting
|
||||
the value property.
|
||||
*/
|
||||
ionChange: EventEmitter<CustomEvent<IAccordionGroupAccordionGroupChangeEventDetail>>;
|
||||
|
||||
|
Reference in New Issue
Block a user