Very interesting post. One question though: how to handle a 'drop'? What is triggered when you actually 'drop' something. If I make the list in a computed property with a getter and setter, no change is detected as the :list option using splice is used. When using the draggable :value option, it is not working...
Very interesting post. One question though: how to handle a 'drop'? What is triggered when you actually 'drop' something. If I make the list in a computed property with a getter and setter, no change is detected as the :list option using splice is used. When using the draggable :value option, it is not working...
So, how to handle it 'after the drop'?
A solution that works for me is adding the event-handler
@end="endDrag(props.items)"
in the element
Thanks, great!
For example:
@end="isDragging = false"