OnConnectEnd
The OnConnectEnd type represents a callback function that is called when finishing or canceling a connection attempt. It receives the mouse or touch event and the final state of the connection attempt.
type OnConnectEnd = (
event: MouseEvent | TouchEvent,
connectionState: FinalConnectionState,
) => void;Parameters
event: MouseEvent | TouchEventconnectionState: FinalConnectionState<InternalNodeBase>
Returns
void