apache / royale-asjs

Apache Royale ASJS
Apache License 2.0
374 stars 116 forks source link

question: drag and drop in Royale #1199

Closed jgomer2001 closed 2 years ago

jgomer2001 commented 2 years ago

Hi there, this is a general question. Any insight appreciated.

I used to be skilled at as3 + mxmlc back in those times of Flash/Flex glory and I'm happy to find there exists a high quality project that brings this knowledge to the scene again

I'm trying to figure out the capabilities that Royale offers regarding drag and drop. I found issue #1114 so it seems there is basic supported. My target is creating a webapp that allows building flowcharts (somewhat like a BPMN editor), so drag and drop is key.

There are several diagramimng libraries that would help, they are all Javascript-based but I don't want to mess with JS.

Do you consider I can get any far in a project like this using Apache Royale? does it sound like a tremendeous challenge or something rather manageable for a single dev?

Thanks in advance

mjesteve commented 2 years ago

Hi, my experience with D&D is small but it was satisfactory (let's wait for other users to comment their experiences).

As for the diagramming libraries, if they are in js, they can be consumed by Royale without problems (at this point "I'm not an expert" but I currently consume several js libraries in my projects: Apache ECharts, jsCalendar, Inspire-Tree, Virtual-Select, ...)

Consulta la documentación de @externs [1]

jgomer2001 commented 2 years ago

I would like other contributors to comment as well, thank you all @joshtynjala @greg-dove @piotrzarzycki21 @yishayw @Harbs

yishayw commented 2 years ago

DragAndDrop is a library that helps drag items in a list to a target list (including DG etc.). DragBead can be attached to controls to make them draggable.

I agree with @mjesteve about using 3rd party libs.