Supports Vue 2 and Vue 3! Comes with a battery batteries included component / directive / composable or for users who want more control a simple abstraction over drag events with the core, wich is also available as a component / directive / composable.
Based on React Draggable. For Vue2 add the composition-api to your dependencies.
The easiest way to make your elements draggable is by using the DraggableDirective which will handle everything for youwith no configuration necessary.
This project uses Vite for development and Rollup to create a distribution. Testing is done with Cypress.You can find the specs in the cypress directory;. An advanced drag and drop component for Vue.js 3+. Supports clone, transition group, nested items, Vuex, and much more.
Add the drag and drop component to the template. Register the component and define the list to be sorted via drag and drop.
All default props.
v2.1.0 (10/10/2021). Feat: Future index support for multiple draggable instance while cloning from between different instances.