Interface: DragDropState
Defined in: src/tree-editor/use-drag-drop.ts:7
Properties
isValid
isValid:
boolean
Defined in: src/tree-editor/use-drag-drop.ts:15
Whether the current (source, target, position) combo is a valid move.
position
position:
DropPosition|null
Defined in: src/tree-editor/use-drag-drop.ts:13
Drop position relative to the target row.
sourceId
sourceId:
string|null
Defined in: src/tree-editor/use-drag-drop.ts:9
Id of the node currently being dragged, if any.
targetId
targetId:
string|null
Defined in: src/tree-editor/use-drag-drop.ts:11
Id of the row currently hovered as a drop target, if any.