Open
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
Need to be able to modify ion-item
while it is being reordered in an ion-list
Describe the Use Case
Observe the graphical example, in which the numerical ordering of each item must change as it (or other) items are reordered.
Describe Preferred Solution
Adding an extra event, analogous to mousemove
, complementing the existing event (analogous to mouseup
or click
)
<ion-list class="">
<ion-reorder-group
:disabled="false"
@ionItemMove="handleMove($event)"
@ionItemReorder="handleReorder($event)">
...
Describe Alternatives
It is possible to achieve this using MutationObservers, but it is not pleasant.
Related Code
See above
Additional Information
PR has already be lodged.