[Vuejs]-Show counts of drag items in VUE draggable for Nested Item List

0👍

The onMove event should catch every moved item, use that to up your total drag count. You can also pass the event argument if you want more information of the move event in your method.

   methods: {
     onMove: function(event) {
       this.dragcount++
     }
   }

Refer to the documentation the vue library is wrapping, it’s all in here.

Leave a comment