Search results

DragEventArgs API in Vue ListBox API component

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.

items

Object[]

Returns the selected list items.

previousIndex

number

Returns the previous index of the selected list item.

previousItem

any[]

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.