NodeMouseHandler
NodeMouseHandler 类型定义了鼠标事件发生在节点上时调用的回调函数。此回调接收事件及其触发事件的节点。
¥The NodeMouseHandler type defines the callback function that is called when mouse events
occur on a node. This callback receives the event and the node that triggered it.
export type NodeMouseHandler = (event: React.MouseEvent, node: Node) => void;| Name | Type | Default |
|---|---|---|
event | MouseEvent<Element, MouseEvent> | |
node | NodeType |
Last updated on