DropEventArgs

12 Sep 20251 minute to read

Interface for Drop event args.

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.

droppedElement Element

Returns the selected list element to be dropped.

helper Element

Returns the dragged list element.

items Object[]

Returns the selected list items.

previousIndex number

Returns the previous index of the selected list item.

target Element

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