SortableOnDragStartEvent

The SortableOnDragStartEvent event.

element

HTMLElement

The target element.

prevIndex

number

The previous index of the dragged item.

target

Sortable

The Sortable component.

Methods

isDefaultPrevented

Returns true if the event was prevented by any of its subscribers.

Returns

boolean

  • Returns true if the default action was prevented. Otherwise, returns false.

preventDefault

Prevents the default action for a specified event. In this way, the source component suppresses the built-in behavior that follows the event.