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

Commit 829ee3f

Browse files
committed
docs(API): add note about the lifecycle of ui.item.sortable properties
Closes #353
1 parent 381623a commit 829ee3f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

API.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Properties
44

5+
**Note:**
6+
The properties of `ui.item.sortable` object are cleared right after the stop callback fires. If you need to access them after the sorting ends, you should keep references in separate variables in your code.
7+
58
### dropindex
69
Type: [Integer](http://api.jquery.com/Types/#Integer)
710
Holds the index of the drop target that the dragged item was dropped.

0 commit comments

Comments
 (0)