feat(svelte): add ondelete handler #3618
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user