Skip to main content

Drag_And_Drop

title: Drag and drop canvas shapes with Svelte layout: svelte_page


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.