File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,8 @@ Required: `false`<br>
95
95
Default: ` null `
96
96
97
97
Input array to draggable component. Typically same array as referenced by inner element v-for directive.<br>
98
- Should not used directly but used only though the ` v- model` directive:
98
+ This is the preferred way to use Vue.draggable as it is compatible with Vuex.<br>
99
+ It should not be used directly but only though the ` v- model` directive:
99
100
` ` ` html
100
101
< draggable v- model= " myArray" >
101
102
` ` `
@@ -107,7 +108,7 @@ Default: `null`
107
108
108
109
Altenative to the ` value` prop, list is an array to be synchronized with drag-and-drop.<br>
109
110
The main diference is that ` list` prop is updated by draggable component using splice method, whereas ` value` is immutable.<br>
110
- Using ` v - model ` and ` value ` is the compatible with Vuex and thus is the preferred way of using draggable.
111
+ **Do not use in conjunction with value prop.**
111
112
112
113
#### options
113
114
Type: ` Object ` <br>
You can’t perform that action at this time.
0 commit comments