OnReconnectEnd
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;
Name | Type | Default |
---|---|---|
event | MouseEvent | TouchEvent | |
edge | EdgeType | |
handleType | HandleType | |
connectionState | FinalConnectionState<InternalNodeBase> |
Last updated on