File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -48,17 +48,14 @@ Read-only property for the start container of the current draggable source.
48
48
49
49
### API
50
50
51
- ** ` sortableEvent.oldIndex : Number ` **
52
- Read-only property for the old index of the current draggable source.
51
+ ** ` sortableEvent.currentIndex : Number ` **
52
+ Read-only property for the index of the current draggable source.
53
53
54
- ** ` sortableEvent.newIndex: Number ` **
55
- Read-only property for the new index of the current draggable source .
54
+ ** ` sortableEvent.over: HTMLElement ` **
55
+ Read-only property for the draggable source you are hovering over .
56
56
57
- ** ` sortableEvent.oldContainer: HTMLElement ` **
58
- Read-only property for the old container of the current draggable source.
59
-
60
- ** ` sortableEvent.newContainer: HTMLElement ` **
61
- Read-only property for the new container of the current draggable source.
57
+ ** ` sortableEvent.overContainer: HTMLElement ` **
58
+ Read-only property for the container of the draggable source you are hovering over.
62
59
63
60
## SortableSortedEvent
64
61
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ your own custom events.
16
16
** ` new AbstractEvent(data: Object): AbstractEvent ` **
17
17
Creates an ` AbstractEvent ` instance.
18
18
19
- ** ` abstractEvent.cancel(data: Object ): null ` **
19
+ ** ` abstractEvent.cancel(): void ` **
20
20
Cancels drag start event.
21
21
22
22
** ` abstractEvent.canceled(): Boolean ` **
@@ -25,5 +25,9 @@ Checks if event has been canceled.
25
25
** ` abstractEvent.type: String ` **
26
26
Read-only property to find out event type
27
27
28
- ** ` abstractEvent.cancelable: String ` **
28
+ ** ` abstractEvent.cancelable: Boolean ` **
29
29
Read-only property to check if event is cancelable
30
+
31
+ ** ` abstractEvent.clone(data: Object): AbstractEvent ` **
32
+ Creates an ` AbstractEvent ` instance with existing event data. This method allows
33
+ for overriding of event data.
You can’t perform that action at this time.
0 commit comments