OnSelectionDrag
The OnSelectionDrag type is a callback function that is called when dragging a selection of nodes. It receives the mouse event and an array of the nodes being dragged.
type OnSelectionDrag<NodeType extends Node = Node> = (
  event: MouseEvent,
  nodes: NodeType[],
) => void;| Name | Type | Default | 
|---|---|---|
event | MouseEvent | |
nodes | NodeBase<Record<string, unknown>, string | undefined>[] | 
Last updated on