UNPKG

vue-easy-dnd

Version:

Easy-DnD is a drag and drop implementation for Vue 3 that uses only standard mouse events instead of the HTML5 drag and drop API, which is [impossible to work with](https://www.quirksmode.org/blog/archives/2009/09/the_html5_drag.html). Think of it as a wa

30 lines (28 loc) 471 B
import { dnd } from '../js/DnD'; export default { data () { return { isDropMask: false }; }, computed: { dragInProgress () { return dnd.inProgress; }, dragData () { return dnd.data; }, dragType () { return dnd.type; }, dragPosition () { return dnd.position; }, dragSource () { return dnd.source; }, dragTop () { return dnd.top; } } };