Drag and drop canvas shapes with Svelte
To enable drag&drop for any node on canvas you just need to pass draggable: true
property into the component's config prop.
svelte-konva automatically keeps your config in sync with the Konva node on dragend
. See the bindings doc page for more details.