feat(svelte): add ondelete handler #3618

This commit is contained in:
moklick
2023-11-16 13:24:41 +01:00
parent 4849c90cbd
commit 05968c82a2
8 changed files with 33 additions and 11 deletions
@@ -145,7 +145,7 @@
]);
</script>
<SvelteFlow {nodes} {edges} fitView nodeDragThreshold={2}>
<SvelteFlow {nodes} {edges} fitView nodeDragThreshold={2} ondelete={console.log}>
<Controls />
<Background variant={BackgroundVariant.Dots} />
<MiniMap />