This commit is contained in:
peterkogo
2025-05-14 12:03:03 +02:00
parent 673a3a8718
commit 30e12e2d3f
2 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ import type {
OnConnectStart,
OnConnectEnd,
OnReconnect,
OnRecoonnectStart,
OnReconnectStart,
OnReconnectEnd
} from '@xyflow/system';
@@ -448,7 +448,7 @@ export type SvelteFlowProps<
/** This event gets fired when after an edge was reconnected*/
onreconnect?: OnReconnect<EdgeType>;
/** This event gets fired when a user starts to reconnect an edge */
onreconnectstart?: OnRecoonnectStart<EdgeType>;
onreconnectstart?: OnReconnectStart<EdgeType>;
/** This event gets fired when a user stops reconnecting an edge */
onreconnectend?: OnReconnectEnd<EdgeType>;
/** This handler gets called when an edge is reconnected. You can use it to modify the edge before the update is applied. */

View File

@@ -31,7 +31,7 @@ import {
fitViewport,
type Handle,
type OnReconnect,
type OnRecoonnectStart,
type OnReconnectStart,
type OnReconnectEnd
} from '@xyflow/system';
@@ -352,7 +352,7 @@ export function getInitialStore<NodeType extends Node = Node, EdgeType extends E
onbeforereconnect?: OnBeforeReconnect<EdgeType> = $derived(signals.props.onbeforereconnect);
onreconnect?: OnReconnect<EdgeType> = $derived(signals.props.onreconnect);
onreconnectstart?: OnRecoonnectStart<EdgeType> = $derived(signals.props.onreconnectstart);
onreconnectstart?: OnReconnectStart<EdgeType> = $derived(signals.props.onreconnectstart);
onreconnectend?: OnReconnectEnd<EdgeType> = $derived(signals.props.onreconnectend);
clickConnect?: boolean = $derived(signals.props.clickConnect ?? true);