DragEventArgs

12 Sep 20251 minute to read

Drag Event arguments

Properties

cancel boolean

‘true’ if the drag or drop action is to be prevented; otherwise false.

element HTMLElement

Specifies the current drag element.

event MouseEvent & TouchEvent

Specifies the actual event.

target HTMLElement

Specifies the current target element.