DropEvent

Information provided to drop handlers when an item is dropped includes the dropped element, associated drag data, and the original mouse or touch event.

Props

The following table outlines the props for the DropEvent:

NameTypeDefaultDescription
dragData
-

Specifies the dragData.

droppedElement
HTMLElement
-

Specifies the dropped element.

event
MouseEvent & TouchEvent
-

Specifies the original mouse or touch event arguments.

target
HTMLElement
-

Specifies the target element.