A fork of Easy-DnD.
-
DropList
emits aleave
event if the item is dropped back in place. The event's propertyindex
contains the index of a dropped item. This is to allow cloning the item next to itself if it was dropped with the alt key pressed. -
InsertEvent
,ReorderEvent
andLeaveEvent
emitted by drop list extend theDnDEvent
and contain all of its properties. For example, thenative
field with a dom event. This allows, for example, to do a clone instead of move if the native eventaltKey
property is true. -
Feedback slots:
feedback
,reordering-feedback
,drag-image
andreordering-drag-image
have additionalindex
prop.