vue-dnd-sortable 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -13
- package/package.json +1 -1
package/README.md
CHANGED
@@ -3,6 +3,22 @@
|
|
3
3
|
A minimal drag-and-drop sortable list component library for Vue 3.
|
4
4
|
**⚠️ Warning: This package is experimental and poorly tested. Use at your own risk.**
|
5
5
|
|
6
|
+
---
|
7
|
+
|
8
|
+
## 🚨 Disclaimer
|
9
|
+
|
10
|
+
This library is:
|
11
|
+
|
12
|
+
- 🧪 **Experimental**
|
13
|
+
- ❌ **Missing many essential features**
|
14
|
+
- ⚠️ **Poorly tested**
|
15
|
+
- 📦 May be **archived** or abandoned at any time
|
16
|
+
|
17
|
+
It’s intended for personal use or experimentation — **not production-ready**.
|
18
|
+
**Use cautiously.**
|
19
|
+
|
20
|
+
---
|
21
|
+
|
6
22
|
## Features
|
7
23
|
|
8
24
|
- Lightweight and flexible
|
@@ -50,11 +66,13 @@ const items = ref([1, 2, 3, 4, 5, 6])
|
|
50
66
|
v-for="(item, index) in items"
|
51
67
|
:id="item"
|
52
68
|
:key="item"
|
69
|
+
:style="{
|
70
|
+
marginBottom: index % 2 === 0 ? '20px' : '50px',
|
71
|
+
}"
|
53
72
|
>
|
54
73
|
<SortableHandle>
|
55
74
|
handle
|
56
75
|
</SortableHandle>
|
57
|
-
|
58
76
|
{{ item }}
|
59
77
|
</SortableItem>
|
60
78
|
</div>
|
@@ -64,18 +82,6 @@ const items = ref([1, 2, 3, 4, 5, 6])
|
|
64
82
|
|
65
83
|
---
|
66
84
|
|
67
|
-
## Disclaimer
|
68
|
-
|
69
|
-
This library is still in an **experimental** state.
|
70
|
-
|
71
|
-
* ❌ No comprehensive test coverage
|
72
|
-
* ❌ May contain unexpected bugs or breaking changes
|
73
|
-
* ❌ API is unstable and subject to change
|
74
|
-
|
75
|
-
Please test thoroughly before using in production.
|
76
|
-
|
77
|
-
---
|
78
|
-
|
79
85
|
## License
|
80
86
|
|
81
87
|
MIT
|