| [ Web Proxy ] |
| Viewing: https://reactflow.dev/api-reference/types/on-connect-end | [Back] [Original] |
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;| Name | Type | Default |
|---|---|---|
event | MouseEvent | TouchEvent | |
connectionState | FinalConnectionState<InternalNodeBase<NodeType>> |
A project by the xyflow team
info@xyflow.com Copyright 2026 webkid GmbH. All rights reserved website design by Facu Montanaro
| Web Proxy Viewer | New URL | Original Page |