vue-pickdrop
Vuejs directive for mobile drag and drop, pick and drop
Usage
There are two directives: v-pickdrag
and v-pickdrop
.
For install in your project need import and use
Vue
v-pickdrag
v-pickdrag
takes data which pass to drag event- When the element is drag then it is class
pickdrag
- Can be add multiple tags for specific drop-container with one of tag (v-pickdrag.red.fruit)
v-pickdrop
v-pickdrop
takes data which pass to drop event@drop
event. Param object: {dropData, dragData}- When drag element can be drop then it is class
pickdrop
- Can be add multiple tags for specific drag-container with one of tag (v-pickdrop.fruit)
Food Fruit Red
methods: { ; }