Search results

DragEventArgs API in JavaScript ListBox API control

Interface for drag and drop event.

Properties

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.