add onselectionstart onselectionend

This commit is contained in:
peterkogo
2025-05-13 17:44:28 +02:00
parent 17646123de
commit ec9d4f3145
4 changed files with 21 additions and 3 deletions
@@ -45,6 +45,8 @@
onnodepointerleave,
onselectionclick,
onselectioncontextmenu,
onselectionstart,
onselectionend,
onedgeclick,
onedgecontextmenu,
onedgepointerenter,
@@ -157,7 +159,15 @@
{onmoveend}
{oninit}
>
<Pane bind:store {onpaneclick} {onpanecontextmenu} {panOnDrag} {selectionOnDrag}>
<Pane
bind:store
{onpaneclick}
{onpanecontextmenu}
{onselectionstart}
{onselectionend}
{panOnDrag}
{selectionOnDrag}
>
<ViewportComponent bind:store>
<div class="svelte-flow__viewport-back svelte-flow__container"></div>
<EdgeRenderer