D
D
Dmitry Eremin2014-08-26 07:55:37
JavaScript
Dmitry Eremin, 2014-08-26 07:55:37

How to implement the Drag'n'drop function in the Canvas element?

Help!
I draw elements in the canvas. Now I need to make them draggable.
I found calebavans.me/projects/jcanvas/docs/extending here , but I can't figure out how to use it (no, you don't have to say "attach the file")
How did you solve such a problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Entelis, 2014-08-26
@DmitriyEntelis

According to your link, everything is there:
calebavans.me/projects/jcanvas/docs/draggableLayers
Below are code examples. On the code examples, the green button "Test"

S
Sergey Krasnodemsky, 2014-08-26
@Prognosticator

draggable: true

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question