Hello,
We'd like to use the Elemental library for event capturing. Something as simple as:
...
-- We'd like to use the Elemental library for event capturing. Something as simple as:
import static elemental.client.Browser.getDocument;
import elemental.events.Event; import elemental.events.EventListener;
...
EventListener listener = new EventListener() { @Override public void handleEvent(Event event) { ... } }; getDocument().addEventListener(Event.SUBMIT, listener, true);
Given Elemental's "close to the metal" approach and disclaimers about not being entirely cross-browser, is this a good idea? Or should we look at other things to avoid subtle bugs?
Many thanks!
Jan
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment