1.0.2 • Published 7 years ago
vv-dd v1.0.2
vv-dd
Another directive for dragging an dropping
Drag and drop all-in-one. Transfers data! Name spacing coming soon*
*probably not soon
:herb: Usage
- Import the directive
import dd from 'vv-dd' - Tell Vue to use the imported component in your component declaration
directives: { dd } - Use the component tag
<p v-dd="{ name: 'example' }"></p> - Uses the
namein the passed object to determine ordering (I should probably change this)