Skip to content

ItemView.handleDrop method

ItemView › handleDrop

Unofficial

Handle a drop event on this view.

Signature:

handleDrop(event: DragEvent, draggable: Draggable, isOver: boolean): DropResult | null

Parameters:

Parameter Type Description
event DragEvent The drag event.
draggable Draggable The draggable object being dropped.
isOver boolean Whether the draggable is over the view.

Returns: DropResult | nullThe drop result, or null if the drop was not handled.