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

NodeEventWithPointer

Source on GitHub 

The NodeEventWithPointer type represents an event that occurs during node interactions, including pointer position and event details. It extends the base node event with pointer-specific information.

type NodeEventWithPointer<NodeType extends Node = Node> = { event: PointerEvent; node: NodeType; };
Parameters:
NameTypeDefault
__0{ node: NodeType; event: T; }
Returns:
void
Last updated on