vue2-draggable-multi
v1.0.0
Published
Vue 2 draggable component with multi-drag support based on SortableJS
Maintainers
Readme
vue-draggable-multi
This library is a secondary development based on the [email protected] (SortableJS/Vue.Draggable) source code, supporting multi-select drag and drop (MultiDrag).
Installation
npm i vue-draggable-multi -SUsage
For general usage, see vuedraggable.
Multi-select
1. Mount the Plugin
MultiDrag need to be mounted before using the library.
import Sortable, { MultiDrag } from "sortablejs";
Sortable.mount(new MultiDrag());2. Enable multi-drag
Enable multi-drag by setting the multi-drag prop to true.
<VueDraggableMulti :multi-drag="true" ...>
// import VueDraggableMulti from "vue-draggable-multi";