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"
- [Vuejs]-How to set up VueJS routes and NodeJS Express API routes?
- [Vuejs]-Make a link list component of a link component in Vue
Source:stackexchange.com