OnNodesDelete

Source on GitHub

The OnNodesDelete type defines the callback function that is called when nodes are deleted. This callback receives an array of the deleted nodes.

type OnNodesDelete = (nodes: Node[]) => void;
Parameters
  • nodes: NodeType[]
Returns

void