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

Canceling a drag

Open gregfr opened this issue 4 years ago • 1 comments

Greetings

I'm trying to cancel the drag based on external conditions (in my case the number of items).

I've added @move="move" to the draggable object, and created the method:

move(evt) {
      console.log('MOVE', evt);
      return false;
    }

I see the message in the log, but the drag proceeds normally. What am I doing wrong?

Thanks in advance

Regards

gregfr avatar Nov 03 '21 14:11 gregfr

I think I found it: I guess I should use :move not @move...

gregfr avatar Nov 03 '21 14:11 gregfr