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

OnReconnectEnd

Source on GitHub 

The OnReconnectEnd type is a callback that fires when the reconnection process for an edge is completed or canceled. It receives the triggering event, the edge, the handle type, and the final connection state.

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