fix examples

This commit is contained in:
peterkogo
2025-04-16 16:41:02 +02:00
parent b429c871a8
commit 13fdd15f59
17 changed files with 65 additions and 59 deletions
@@ -36,7 +36,7 @@
onmove,
onmovestart,
onmoveend,
onerror,
onflowerror,
ondelete,
onbeforedelete,
onbeforeconnect,
@@ -49,8 +49,8 @@
onreconnectend,
onclickconnectstart,
onclickconnectend,
clickConnect,
oninit,
clickConnect,
fitView,
fitViewOptions,
nodeOrigin,
@@ -379,7 +379,7 @@ export type SvelteFlowProps = NodeEvents &
* Instead of exploding your application, we log a message to the console and then call this event handler.
* You might use it for additional logging or to show a message to the user.
*/
onerror?: OnError;
onflowerror?: OnError;
/** This handler gets called when the user deletes nodes or edges.
* @example
* onDelete={({nodes, edges}) => {