DragEventArgs

23 Sep 20251 minute to read

Interface for drag and drop event.

Properties

cancel boolean

Illustrates whether the current action needs to be prevented or not.

currentIndex number

Returns the current index of the selected list item.

destination SourceDestinationModel

Returns the previous and current list items of the destination list box.

dragSelected boolean

Returns true if the list element is dragged from ListBox. Otherwise, it remains false.

elements Element[]

Returns the selected list element.

event Event

Specifies the event.

items Object[]

Returns the selected list items.

previousIndex number

Returns the previous index of the selected list item.

previousItem object[]

Returns the previous list item.

source SourceDestinationModel

Returns the previous and current list items of the source list box.

target Element

Returns the target list element where the selected list element to be dropped.