I am trying out some HTML5 canvas examples and I have some doubts with how I can drag and drop text, or an image, or a rectangle.
How could I implement a drag and drop ability with the canvas?
I am trying out some HTML5 canvas examples and I have some doubts with how I can drag and drop text, or an image, or a rectangle.
How could I implement a drag and drop ability with the canvas?
If you're new to canvas, as you mentioned, have you tried using a framework like kineticJs?
It will take care of your drag and drop, among other things, and there are plenty tutorials out there to help you out further.
For example, here is a tutorial for drag and drop, using KineticJs.