Skip to content

Commit 71d2245

Browse files
Update documentation
1 parent 0879680 commit 71d2245

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,14 @@ Option parameter can be json string or a full javascript object.
4141

4242
##Limitation
4343

44-
This directive works only when applied to arrays and not to javascript objects.
45-
44+
* This directive works only when applied to arrays and not to objects.
45+
* `onStart`, `onUpdate`, `onAdd`, `onRemove` Sortable.js options hooks are used by v-dragable-for to update VM. As such these four options are not usable with v-dragable-for. If you need to listen to re-order events, you can watch the underlying view model collection. For example:
46+
``` js
47+
watch: {
48+
'list1': function () {
49+
console.log('Colection updated!');
50+
},
51+
```
4652
4753
## Installation
4854
- Available through:

0 commit comments

Comments
 (0)