This is a migrated thread and some comments may be shown as answers.

Drag/drop of elements?

1 Answer 41 Views
Drawing API
This is a migrated thread and some comments may be shown as answers.
Virgil
Top achievements
Rank 1
Virgil asked on 31 May 2016, 08:14 PM

Hi,

Is there a way to implement dragging/dropping of elements on the surface?  I am making a game and would like to move the pieces around.

A simple prototype board can be found here: https://plnkr.co/edit/Lwo10dzpKYz1Aa34uESb?p=preview

Thanks,

Virgil

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 02 Jun 2016, 10:33 AM
Hello Virgil,

Virgil drag and drop is not currently supported out of the box but should be possible to implement it by using custom events on the surface element and the surface eventTarget method - example.

Regards,
Daniel
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Drawing API
Asked by
Virgil
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or