Skip to content

Workspace.getDropLocation method

Workspace › getDropLocation

Unofficial

Get the leaf where the leaf should be dropped on dragevent.

Signature:

getDropLocation(e: DragEvent): null | WorkspaceLeaf

Parameters:

Parameter Type Description
e DragEvent Drag event.

Returns: null | WorkspaceLeafThe leaf at the drop location or null.