2.0.9 • Published 4 years ago
vue3-draggable v2.0.9
vue3-draggable
list-based drag&drop component for vue 3.x, with no dependencies

Features
- support v-model
- support transition
- customizable draggable component
Nested useage is currently not supported
Installation
npm i vue3-draggableTry Sample
git clone https://github.com/shkilo/vue3-draggable.git
npm i
npm run serveUsage
import component:
import Draggable from "vue3-draggable";
export default {
components: {
Draggable,
},
};template:
<draggable v-model="items">
<template v-slot:item="{item}">
<!-- example -->
<div>
{{item.title}}
</div>
<!-- or your own template -->
</template>
</draggable>This componet is implemented based on v-slot
Props
| Name | Required | Type | Description |
|---|---|---|---|
| modelValue | REQUIRED | ARRAY | v-model value, items to be bound |
| transition | OPTIONAL | STRING | transition delay in ms |
2.0.3
4 years ago
2.0.2
4 years ago
2.0.5
4 years ago
2.0.4
4 years ago
2.0.7
4 years ago
2.0.6
4 years ago
2.0.9
4 years ago
2.0.8
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago