I've got some generated HTML that I'm trying to hook into using GWT to
listen to events. At the moment I've this:
public class LightWeightUiObject extends UIObject {
public LightWeightUiObject(Element element) {
setElement(element);
sinkEvents(Event.ONTOUCHSTART);
sinkEvents(Event.ONTOUCHMOVE);
sinkEvents(Event.ONTOUCHEND);
}
}
Is this the best/correct way of doing this?
(What I'm trying to do is avoid using Widgets as this dramtically
increases the size of my compiled app)
Cheers,
Dave
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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.
No comments:
Post a Comment