On Wednesday, March 20, 2013 10:05:14 PM UTC+1, qinyc wrote:
>
> How could I add an event handler to an element during the capture phase
> not the bubbling phase?
> The problem is the same as how to convert js code addEventHandler('click',
> element, true). The addDomHandler seems working in the bubbling phase.
>
GWT historically doesn't support handling events in the capture phase
because IE didn't support it. Event.addNativePreviewHandler uses the
capture phase in browsers that support it though AFAICT (but please
double-check first)
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.