0.0.6 • Published 11 months ago
vue-directive-dragging v0.0.6
Implementing a drag-and-drop plugin based on the vue directive
$ npm i -S vue-directive-dragging
// main.js
import dragging from 'vue-directive-dragging'
Vue.use(dragging)
// template
<div v-dragging="{ prevent: false }"></div>