Vue.draggable: Drag between lists, how to get target list data

Created on 11 Dec 2019  路  3Comments  路  Source: SortableJS/Vue.Draggable

Jsfiddle link

https://sortablejs.github.io/Vue.Draggable/#/two-lists

Step by step scenario

When dragging between lists. Is there a way to get from/to container lists's data as given raw data or index without using attributes?

All 3 comments

=> stackoverflow.

I read the all documentation. Tried every event. None gives the information i need. I dont think i will find answers on Stackoverflow

I need this information too, not found the answer on SO.

onEnd's argument with (to/from and srcElement/target) doesn't solve this directly, because it is HTML node, not target list itself. So in my project I had to use data attribute with actual data ids and getListById function.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

parthibeyond picture parthibeyond  路  3Comments

Leadaxe picture Leadaxe  路  3Comments

fedenko picture fedenko  路  3Comments

iou90 picture iou90  路  3Comments

Kgwkgwkgw picture Kgwkgwkgw  路  3Comments