Skip to content

Commit 98287b7

Browse files
committed
docs(reorder-group): add description of deprecated event back
1 parent 3fb2274 commit 98287b7

File tree

4 files changed

+15
-16
lines changed

4 files changed

+15
-16
lines changed

core/src/components.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8042,7 +8042,8 @@ declare namespace LocalJSX {
80428042
*/
80438043
"disabled"?: boolean;
80448044
/**
8045-
* @deprecated Use `ionReorderEnd` instead. The new event is emitted at the end of every reorder gesture, even if the positions do not change. If you were accessing `event.detail.from` or `event.detail.to` before and relying on them being different you should now add checks as they are always emitted in `ionReorderEnd`, even when they are the same.
8045+
* Event that needs to be listened to in order to complete the reorder action.
8046+
* @deprecated Use `ionReorderEnd` instead. If you are accessing `event.detail.from` or `event.detail.to` and relying on them being different you should now add checks as they are always emitted in `ionReorderEnd`, even when they are the same.
80468047
*/
80478048
"onIonItemReorder"?: (event: IonReorderGroupCustomEvent<ItemReorderEventDetail>) => void;
80488049
/**

core/src/components/reorder-group/reorder-group.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ export class ReorderGroup implements ComponentInterface {
5353

5454
// TODO(FW-6590): Remove this in a major release.
5555
/**
56-
* @deprecated Use `ionReorderEnd` instead. The new event is emitted
57-
* at the end of every reorder gesture, even if the positions do not
58-
* change. If you were accessing `event.detail.from` or `event.detail.to`
59-
* before and relying on them being different you should now add checks as
60-
* they are always emitted in `ionReorderEnd`, even when they are the same.
56+
* Event that needs to be listened to in order to complete the reorder action.
57+
* @deprecated Use `ionReorderEnd` instead. If you are accessing
58+
* `event.detail.from` or `event.detail.to` and relying on them
59+
* being different you should now add checks as they are always emitted
60+
* in `ionReorderEnd`, even when they are the same.
6161
*/
6262
@Event() ionItemReorder!: EventEmitter<ItemReorderEventDetail>;
6363

packages/angular/src/directives/proxies.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1906,11 +1906,10 @@ import type { ReorderEndEventDetail as IIonReorderGroupReorderEndEventDetail } f
19061906

19071907
export declare interface IonReorderGroup extends Components.IonReorderGroup {
19081908
/**
1909-
* @deprecated Use `ionReorderEnd` instead. The new event is emitted
1910-
at the end of every reorder gesture, even if the positions do not
1911-
change. If you were accessing `event.detail.from` or `event.detail.to`
1912-
before and relying on them being different you should now add checks as
1913-
they are always emitted in `ionReorderEnd`, even when they are the same.
1909+
* Event that needs to be listened to in order to complete the reorder action. @deprecated Use `ionReorderEnd` instead. If you are accessing
1910+
`event.detail.from` or `event.detail.to` and relying on them
1911+
being different you should now add checks as they are always emitted
1912+
in `ionReorderEnd`, even when they are the same.
19141913
*/
19151914
ionItemReorder: EventEmitter<CustomEvent<IIonReorderGroupItemReorderEventDetail>>;
19161915
/**

packages/angular/standalone/src/directives/proxies.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1766,11 +1766,10 @@ import type { ReorderEndEventDetail as IIonReorderGroupReorderEndEventDetail } f
17661766

17671767
export declare interface IonReorderGroup extends Components.IonReorderGroup {
17681768
/**
1769-
* @deprecated Use `ionReorderEnd` instead. The new event is emitted
1770-
at the end of every reorder gesture, even if the positions do not
1771-
change. If you were accessing `event.detail.from` or `event.detail.to`
1772-
before and relying on them being different you should now add checks as
1773-
they are always emitted in `ionReorderEnd`, even when they are the same.
1769+
* Event that needs to be listened to in order to complete the reorder action. @deprecated Use `ionReorderEnd` instead. If you are accessing
1770+
`event.detail.from` or `event.detail.to` and relying on them
1771+
being different you should now add checks as they are always emitted
1772+
in `ionReorderEnd`, even when they are the same.
17741773
*/
17751774
ionItemReorder: EventEmitter<CustomEvent<IIonReorderGroupItemReorderEventDetail>>;
17761775
/**

0 commit comments

Comments
 (0)