feat(svelte): add on:selectionclick and on:selectioncontextmenu closes #3646

This commit is contained in:
moklick
2023-11-23 12:49:06 +01:00
parent ab5eef220f
commit 38b5051179
3 changed files with 20 additions and 1 deletions
@@ -174,6 +174,8 @@
event.preventDefault();
console.log('on edge contextmenu', edge);
}}
on:selectionclick={(event) => console.log('on selection click', event)}
on:selectioncontextmenu={(event) => console.log('on selection contextmenu', event)}
autoPanOnConnect
autoPanOnNodeDrag
connectionMode={ConnectionMode.Strict}