NodeTargetEventWithPointer
The NodeTargetEventWithPointer
type represents an event that occurs during target node interactions, including pointer position and event details. It extends the base node event with pointer-specific information and target node data.
type NodeTargetEventWithPointer<NodeType extends Node = Node> = {
event: PointerEvent;
node: NodeType;
targetNode: NodeType;
};
Name | Type | Default |
---|---|---|
__0 | { targetNode: NodeType | null; nodes: NodeType[]; event: T; } |
Last updated on