Skip to Content
React Flow Pro is now integrated into reactflow.dev! Read more here →
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