[Vuejs]-Vue on event selects first value only

0๐Ÿ‘

:move="onDrop" is the short-form for v-bind:move="onDrop" which binds attribute move to a prop inside of the draggable component, or incase it doesnt exist as a prop inside of draggable it gets passed on to the root component that is the direct child of the <template> tag inside of draggable.

If you want to listen to the move event, you need to use the v-on directive, or its short form @move="onDrop"

Leave a comment