@ashlkv/vue-easy-dnd
v1.22.5
Published
A fork of vue-easy-dnd: https://www.npmjs.com/package/vue-easy-dnd
Downloads
28
Maintainers
Readme
A fork of Easy-DnD.
Changes
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.