Skip to Content
You are viewing the v1 docs of Svelte Flow. You can find the latest version here.
ReferenceTypes

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
handleType'source' | 'target'
connectionStateFinalConnectionState<InternalNodeBase<NodeType>>
Returns:
void
Last updated on