Skip to content

Commit 4014db6

Browse files
2 parents e810c46 + 3a3005d commit 4014db6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,15 @@ Sortable options can be set directly as vue.draggable props since version 2.19.
180180
181181
This means that all [sortable option](https://github.com/RubaXa/Sortable#options) are valid sortable props with the notable exception of all the method starting by "on" as draggable component expose the same API via events.
182182
183+
kebab-case propery are supported: for example `ghost-class` props will be converted to `ghostClass` sortable option.
184+
183185
Example setting handle, sortable and a group option:
184186
```HTML
185187
<draggable
186188
v-model="list"
187189
handle=".handle"
188190
:group="{ name: 'people', pull: 'clone', put: false }"
191+
ghost-class="ghost"
189192
:sortable="false"
190193
@change="log"
191194
>

0 commit comments

Comments
 (0)