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

OnReconnectStart

Source on GitHub 

The OnReconnectStart type is a callback function that is called when reconnecting an existing edge. It receives the mouse or touch event, the edge being reconnected, and the type of handle being used.

type OnReconnectStart<EdgeType extends EdgeBase = EdgeBase> = ( event: MouseEvent | TouchEvent, edge: EdgeType, handleType: HandleType, ) => void;
Parameters:
NameTypeDefault
eventMouseEvent | TouchEvent
edgeEdgeType
handleTypeHandleType
Returns:
void
Last updated on