vue.draggable.next icon indicating copy to clipboard operation
vue.draggable.next copied to clipboard

Find the starting list and ending list

Open antonellorossi opened this issue 3 years ago • 1 comments

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

<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

antonellorossi avatar Sep 16 '22 09:09 antonellorossi

Done ... i use draggedContext

antonellorossi avatar Sep 16 '22 10:09 antonellorossi