Tuesday, October 16, 2012

Re: GWT 2.5 RC2 Is Here!



On Tuesday, October 16, 2012 9:55:16 AM UTC+2, Dimitrijević Ivan wrote:
The problem is that there is no documentation and/or tutorial at all about drag & drop support.

It's a thin wrapper around HTML5's DnD API, so any documentation and/or tutorial about HTML5 DnD (e.g. http://www.html5rocks.com/en/tutorials/dnd/basics/ ) applies, and the mapping from JS to GWT is rather straightforward.
Not all features are exposed by the GWT API though (no DropEffect for instance), so you might have to use JSNI at times.
If you ask me, the API is small enough that you can easily screen the javadoc (search for "drag" or "drop" in the class list) to grasp what's in there and what's not, how it maps to the native (JS) API, and how to use it (e.g. DragDropEventBase.isSupported()).

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/s1bq_pHyTwcJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate