vue.draggable.next
vue.draggable.next copied to clipboard
How to get @change event that includes info about moves between lists
I've got an application with multiple lists. Users can drag items between lists to move them.
I'm trying to capture an event that contains information about both the source and destination lists. :move
has the information but fires just before the move completes. @change
seems like it would make the most sense, but it only has information for a particular list.
I want to build a UI that includes a log of the moves between lists that someone has made. This is awkward with out an event that includes from
and to
information.
I realize this is likely by design for vue-draggable because each list that items can be dragged between is completely independent at the vue-level. Is it possible to access something like move
where I can access the divs that things are being dragged between but where the item position has actually changed, rather than move which is just before the position of an item has changed as I understand it?
I also do miss this
@change seems like it would make the most sense
specifically, I need to have there x,y coordinates of the dropped element, as my dropzone is not a list, but a rectangle div
Hi @woodhull, did you get any solution for this? I am in the same situation.
No
The last update 3 years ago. Seems like this repo is dead.