File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,11 @@ Two Lists:
18
18
19
19
https://jsfiddle.net/dede89/hqxranrd/
20
20
21
- ##Feature
21
+ Example with list clone:
22
+
23
+ https://jsfiddle.net/dede89/u5ecgtsj/
24
+
25
+ ##Features
22
26
23
27
* Full support of [ Sortable.js] ( https://github.com/RubaXa/Sortable ) options via options parameters
24
28
* Keeps in sync view model and view
@@ -27,12 +31,19 @@ https://jsfiddle.net/dede89/hqxranrd/
27
31
##Usage
28
32
29
33
Use it exactly as v-for directive, passing optional parameters using 'options' parameter.
34
+ Option parameter can be json string or a full javascript object.
30
35
31
36
``` html
32
37
<div v-dragable-for =" element in list1" options =' {"group":"people"}' >
33
38
<p >{{element.name}}</p >
34
39
</div >
35
40
```
41
+
42
+ ##Limitation
43
+
44
+ This directive works only when applied to arrays and not to javascript objects.
45
+
46
+
36
47
## Installation
37
48
- Available through:
38
49
``` js
You can’t perform that action at this time.
0 commit comments