vue-draggable-next
Advanced tools
Comparing version 2.0.4 to 2.1.0
{ | ||
"name": "vue-draggable-next", | ||
"version": "2.0.4", | ||
"version": "2.1.0", | ||
"description": "Build Draggable component using vue 3", | ||
@@ -5,0 +5,0 @@ "main": "dist/vue-draggable-next.cjs.js", |
@@ -64,5 +64,3 @@ # vue-draggable-next | ||
<transition-group> | ||
<div v-for="element in myArray" :key="element.id"> | ||
{{element.name}} | ||
</div> | ||
<div v-for="element in myArray" :key="element.id">{{element.name}}</div> | ||
</transition-group> | ||
@@ -171,3 +169,3 @@ </draggable> | ||
Function called on the source component to clone element when clone option is true. The unique argument is the viewModel element to be cloned and the returned value is its cloned version.<br> | ||
By default vue.draggable reuses the viewModel element, so you have to use this hook if you want to clone or deep clone it. | ||
By default vue-draggable-next reuses the viewModel element, so you have to use this hook if you want to clone or deep clone it. | ||
@@ -248,3 +246,3 @@ #### move | ||
This project is heavily inspired by the following awesome projects. | ||
This project is heavily inspired by the following awesome vue 2 projects. | ||
@@ -251,0 +249,0 @@ - [SortableJS/Vue.Draggable](https://github.com/SortableJS/Vue.Draggable) |
583802
249