@ionic/angular 8.6.1-dev.11749575087.1b86eb67 → 8.6.1-dev.11749648223.169ce853

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,6 +23,8 @@ import type { RangeKnobMoveStartEventDetail as IIonRangeRangeKnobMoveStartEventD
23
23
  import type { RangeKnobMoveEndEventDetail as IIonRangeRangeKnobMoveEndEventDetail } from '@ionic/core';
24
24
  import type { RefresherEventDetail as IIonRefresherRefresherEventDetail } from '@ionic/core';
25
25
  import type { ItemReorderEventDetail as IIonReorderGroupItemReorderEventDetail } from '@ionic/core';
26
+ import type { ReorderMoveEventDetail as IIonReorderGroupReorderMoveEventDetail } from '@ionic/core';
27
+ import type { ReorderEndEventDetail as IIonReorderGroupReorderEndEventDetail } from '@ionic/core';
26
28
  import type { SearchbarInputEventDetail as IIonSearchbarSearchbarInputEventDetail } from '@ionic/core';
27
29
  import type { SearchbarChangeEventDetail as IIonSearchbarSearchbarChangeEventDetail } from '@ionic/core';
28
30
  import type { SegmentChangeEventDetail as IIonSegmentSegmentChangeEventDetail } from '@ionic/core';
@@ -1008,11 +1010,30 @@ export declare class IonReorderGroup {
1008
1010
  }
1009
1011
  export declare interface IonReorderGroup extends Components.IonReorderGroup {
1010
1012
  /**
1011
- * Event that needs to be listened to in order to complete the reorder action.
1013
+ * TODO(FW-6590): Remove this in a major release. @deprecated Use `ionReorderEnd` instead. The new event is emitted
1014
+ at the end of every reorder gesture, even if the positions do not
1015
+ change. If you were accessing `event.detail.from` or `event.detail.to`,
1016
+ you should now add `undefined` checks as they can be `undefined` in
1017
+ `ionReorderEnd`.
1018
+ */
1019
+ ionItemReorder: EventEmitter<CustomEvent<IIonReorderGroupItemReorderEventDetail>>;
1020
+ /**
1021
+ * Event that is emitted when the reorder gesture starts.
1022
+ */
1023
+ ionReorderStart: EventEmitter<CustomEvent<void>>;
1024
+ /**
1025
+ * Event that is emitted as the reorder gesture moves.
1026
+ */
1027
+ ionReorderMove: EventEmitter<CustomEvent<IIonReorderGroupReorderMoveEventDetail>>;
1028
+ /**
1029
+ * Event that is emitted when the reorder gesture ends.
1030
+ The from and to properties are only available if the reorder gesture
1031
+ moved the item. If the item did not move, the from and to properties
1032
+ will be undefined.
1012
1033
  Once the event has been emitted, the `complete()` method then needs
1013
1034
  to be called in order to finalize the reorder action.
1014
1035
  */
1015
- ionItemReorder: EventEmitter<CustomEvent<IIonReorderGroupItemReorderEventDetail>>;
1036
+ ionReorderEnd: EventEmitter<CustomEvent<IIonReorderGroupReorderEndEventDetail>>;
1016
1037
  }
1017
1038
  export declare class IonRippleEffect {
1018
1039
  protected z: NgZone;