File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -37,19 +37,17 @@ Use draggable component:
37
37
### Props
38
38
#### list
39
39
Type: ` Array ` <br >
40
- Required: ` false `
40
+ Required: ` false ` < br >
41
41
Default: ` null `
42
42
43
- Array to be synchronized with drag-and-drop. Typically same array as refrenced by inner element v-for directive.
44
-
43
+ Array to be synchronized with drag-and-drop. Typically same array as refrenced by inner element v-for directive.<br >
45
44
Note that draggabe component can be used with a list prop
46
45
47
46
#### options
48
47
Type: ` Object ` <br >
49
48
Required: ` true `
50
49
51
- Option used to inicialize the sortable object see: [ sortable option documentation] ( https://github.com/RubaXa/Sortable#options )
52
-
50
+ Option used to inicialize the sortable object see: [ sortable option documentation] ( https://github.com/RubaXa/Sortable#options ) <br >
53
51
Note that all the method starting by "on" will be ignored as draggable component expose the same API via events.
54
52
55
53
#### Events
@@ -69,7 +67,7 @@ https://jsfiddle.net/dede89/32ao2rpm/
69
67
##For Vue.js 1.0
70
68
71
69
Use it exactly as v-for directive, passing optional parameters using 'options' parameter.
72
- Option parameter can be json string or a full javascript object.
70
+ Options parameter can be json string or a full javascript object.
73
71
74
72
``` html
75
73
<div v-dragable-for =" element in list1" options =' {"group":"people"}' >
You can’t perform that action at this time.
0 commit comments