Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 220125b

Browse files
committedMar 7, 2017
docs(API): add docs about the $emitted event
1 parent 8c01bc2 commit 220125b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
 

‎API.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,16 @@ Returns whether the current sorting is marked as canceled, by an earlier call to
5858
### isCustomHelperUsed[()](http://api.jquery.com/Types/#Function)
5959
Returns: [Boolean](http://api.jquery.com/Types/#Boolean)
6060
Returns whether the [`helper`](http://api.jqueryui.com/sortable/#option-helper) element used for the current sorting, is one of the original ui-sortable list elements.
61+
62+
63+
## Events
64+
65+
### `ui-sortable:moved`
66+
Is emitted after the `stop` callback.
67+
In connected sortables it is also emitted after the `update` on the receiving sortable.
68+
69+
```js
70+
$rootScope.$on('ui-sortable:moved', function (e, ui) {
71+
72+
});
73+
```

0 commit comments

Comments
 (0)
This repository has been archived.