Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 419 Bytes

title: HTML5 Canvas Drag and Drop Events

To detect drag and drop events with Konva, we can use the on() method to bind dragstart, dragmove, or dragend events to a node. The on() method requires an event type and a function to be executed when the event occurs.

{% iframe /downloads/code/drag_and_drop/Drag_Events.html %}

{% include_code Konva Drag Events Demo drag_and_drop/Drag_Events.html %}

You can’t perform that action at this time.