Skip to Content
ReferenceTypes

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:
NameTypeDefault
nodesNodeType[]
Returns:
void
Last updated on