vue dragable for directive
npm install vuedragablefor html
{{element.name}}
`
##Limitation
* This directive works only when applied to arrays and not to objects.
* onStart, onUpdate, onAdd, onRemove Sortable.js options hooks are used by v-dragable-for to update VM. As such these four options are not usable with v-dragable-for. If you need to listen to re-order events, you can watch the underlying view model collection. For example:
` js
watch: {
'list1': function () {
console.log('Collection updated!');
},
`
Installation
- Available through:
` js
npm install vuedragablefor
`
` js
Bower install vue.dragable.for
`
- #### For Modules
` js
// ES6
import Vue from 'vue'
import VueDragableFor from 'vuedragablefor'
Vue.use(VueDragableFor)
// ES5
var Vue = require('vue')
Vue.use(require('vuedragablefor'))
`
- #### For