canvas - KineticJS - How to find out which object were dragged? -


is there possibility, how realise, object moved? if had example 5 object on canvase , move 1 object, there information changed since time? thanks

attach dragend handler function, event variable has targetnode, node drag event has happened on.

node.on('dragend', function (event) { console.log('dragged node: ' + event.targetnode); } 

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -