You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`element` has been deprecated and you should use `tag` props instead. The motivation is to comply with widespread convention.
4
+
5
+
Migrate from:
6
+
7
+
```HTML
8
+
<draggableelement="ul">
9
+
<liv-for="element in list":key="element.id">{{element.name}}</li>
10
+
</draggable>
11
+
```
12
+
13
+
To:
14
+
15
+
```HTML
16
+
<draggabletag="ul">
17
+
<liv-for="element in list":key="element.id">{{element.name}}</li>
18
+
</draggable>
19
+
```
20
+
21
+
## Options props
22
+
23
+
`options` props has been deprecated in version v2.20.
24
+
25
+
Vue.draggable starting from that release will use [transparent wrapper](https://zendev.com/2018/05/31/transparent-wrapper-components-in-vue.html) to pass props to the Sortable instance.
26
+
27
+
28
+
So [Sortable options](https://github.com/SortableJS/Sortable#options) can directly be attached to Vue.draggable instance.
0 commit comments