Skip to Content
✨ Svelte Flow 1.0 is here! Rewritten for Svelte 5 with many new features and improvements.
ReferenceTypesNodeTargetEventWithPointer

NodeTargetEventWithPointer

Source on GitHub 

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; };
Parameters:
NameTypeDefault
__0{ targetNode: NodeType | null; nodes: NodeType[]; event: T; }
Returns:
void
Last updated on