DragEndEvent
Class
Represents the arguments for the dragEnd event.
Definition
Package:@progress/kendo-angular-sortable
Methods
If the event was prevented
by any of its subscribers, returns true.
Returns:
boolean
true if the default action was prevented. Otherwise, returns false.
Prevents the default action for a specified event. In this way, the source component suppresses the built-in behavior that follows the event.
Properties
index
number
Specifies the index of the draggable item.
oldIndex
number
Specifies the previous index of the draggable item.
This property is used for the dragEnd and dragOverevents to determine the original position of the item before dragging. It doesn't apply to thedragStart` event as there is no previous position at that point.