I've been using GWT for a long time and I'm still a bit confused when
I start working with events.

So as the subject says, which should I use: DOM.eventCancelBubble() or
NativeEvent.stopPropagation()?

Similarly, I see this a lot:

public void onBrowserEvent(Event event) {
  if(DOM.eventGetType(event) == ...) ...
}

Why not just:

if(event.getType() == ...) ...

???

Is there some write-up that discusses events at a low level?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to