New to Kendo UI for AngularStart a free 30-day trial

DragTargetDragEvent

Arguments for the drag event of the DragTarget and DragTargetContainer.

NameTypeDefaultDescription

dragEvent

NormalizedDragEvent

The information related to the current drag event. This is the normalized drag event that contains details about the drag operation.

dragTarget

HTMLElement

The DOM element being dragged.

dragTargetId?

any

The identifier passed to the dragTargetId input property of the DragTarget or DragTargetContainer directive.

dragTargetIndex?

number

The index of the current drag target in the collection of drag targets. Applies to DragTargetContainer directive.

hintElement?

HTMLElement

The hint element of the DragTarget.

Methods

isDefaultPrevented

Returns true if you or any subscriber prevented the default action.

Returns

boolean

true if the default action was prevented, otherwise, false.

preventDefault

Prevents the default action for the event. The source component suppresses the built-in behavior that follows the event.

In this article
Methods
Not finding the help you need?
Contact Support