fix(svelte): rename on:node:click to on:nodeclick

This commit is contained in:
moklick
2023-06-28 15:27:49 +02:00
parent ab406f684d
commit a31b19b21f
13 changed files with 47 additions and 47 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ A basic flow looks like this:
{nodeTypes}
fitView
snapGrid={snapGrid}
on:node:click={(event) => console.log('on node click', event)}
on:nodeclick={(event) => console.log('on node click', event)}
>
<Controls />
<Background variant={BackgroundVariant.Dots} />