vue.draggable.next
vue.draggable.next copied to clipboard
Find the starting list and ending list
Hi, i'm using this library with 3 different list. Everything works fine, because i can move y element from one list to another. How can i find if i move an element from list2 to list1 ?
`
List1
<draggable class="list-group-0" :list="list1" group="people" @change="log" itemKey="nome" > <template #item="{ element, index }">{{ element.nome }} {{ index }}
List2
{{ element.nome }} {{ index }}
<div class="col-1">
<h3>List3</h3>
<draggable
class="list-group-2"
:list="list3"
:move="spostamento"
group="people"
@change="log"
itemKey="nome"
>
<template #item="{ element, index }">
<div class="list-group-item">{{ element.nome }} {{ index }}</div>
</template>
</draggable>
</div>`
Thanks
Antonello
Done ... i use draggedContext