{"repo":"Alfred-Skyblue/vue-draggable-plus","free":true,"listed":false,"github":"https://github.com/Alfred-Skyblue/vue-draggable-plus","clone":"git clone https://github.com/Alfred-Skyblue/vue-draggable-plus.git","description":"Universal Drag-and-Drop Component Supporting both Vue 3 and Vue 2","language":"Vue","stars":4012,"topics":["composition-api","draggable","typescript","vue2","vue3","sortablejs","vue","drag","drag-and-drop"],"license":"MIT","category":"ui-components","readme_excerpt":"vue-draggable-plus 中文文档 Drag and drop sorting module, support Vue =v3 or Vue =2.7 Example of use Describe Since the vue3 component of Sortablejs has not been updated, it has been seriously out of touch with vue3 , so this project was born. This component is based on Sortablejs , so if you want to know more about Sortablejs , you can check it out Sortablejs official website We have encapsulated a variety of usages for this, you can use components, function, or instructions, there is always one that suits you Solve pain points In Sortablejs official Vue components in the past, the drag-and-drop list is implemented by using the component as a direct child element of the list. When we use some component libraries, if there is no slot for the root element of the list in the component library , it is difficult for us to implement a drag list, vue-draggable-plus perfectly solves this problem, it allows you to use a drag list on any element, we can use the selector of the specified element to get the root element of the list, and then Use the root element of the list as container of Sortablejs , for details, refer to specify target container. Install Usage Component usage Function Usage Directive Usage Explanation All event functions starting with on can be passed to components using v-on . For example: For information on using Hooks and directives, please refer to the documentation. Options Options inherits all configuration items from Sortablejs . For details, please see the Sortab","default_branch":null,"files":null,"tree":[],"storefront":"/r/Alfred-Skyblue","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Alfred-Skyblue/vue-draggable-plus/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}