OnNodesDelete
OnNodesDelete 类型定义了在删除节点时被调用的回调函数。此回调函数接收一个已删除节点的数组。
🌐 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;| Name | Type | Default |
|---|---|---|
nodes | NodeType[] |
Last updated on