feat(svelte) added nodedrag events

This commit is contained in:
Peter
2023-09-20 12:05:16 +02:00
parent 3eb9c12c20
commit 3c3239afd8
6 changed files with 38 additions and 4 deletions
@@ -167,6 +167,15 @@
event.preventDefault();
console.log('on pane contextmenu', event);
}}
on:nodedrag={(event) => {
console.log('on node drag', event);
}}
on:nodedragstart={(event) => {
console.log('on node drag start', event);
}}
on:nodedragstop={(event) => {
console.log('on node drag stop', event);
}}
>
<Controls />
<Background variant={BackgroundVariant.Dots} />