vue-draggable-next
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "vue-draggable-next", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/vue-draggable-next.cjs.js", |
@@ -28,18 +28,26 @@ # vue-draggable-next | ||
<script> | ||
data() { | ||
return { | ||
enabled: true, | ||
list: [ | ||
{ name: 'John', id: 1 }, | ||
{ name: 'Joao', id: 2 }, | ||
{ name: 'Jean', id: 3 }, | ||
{ name: 'Gerard', id: 4 }, | ||
], | ||
dragging: false, | ||
} | ||
}, | ||
methods: { | ||
log(event) { | ||
import { defineComponent } from 'vue' | ||
import { VueDraggableNext } from 'vue-draggable-next' | ||
export default defineComponent({ | ||
components: { | ||
draggable: VueDraggableNext, | ||
}, | ||
data() { | ||
return { | ||
enabled: true, | ||
list: [ | ||
{ name: 'John', id: 1 }, | ||
{ name: 'Joao', id: 2 }, | ||
{ name: 'Jean', id: 3 }, | ||
{ name: 'Gerard', id: 4 }, | ||
], | ||
dragging: false, | ||
} | ||
}, | ||
methods: { | ||
log(event) { | ||
console.log(event) | ||
}, | ||
}, | ||
}) | ||
</script> | ||
@@ -46,0 +54,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
709880
62