I was looking around to get the element from the native element, and I
see I can do it in the following 2 ways:

Element elem = Event.as(event.getNativeEvent()).getEventTarget().cast
();
elem = event.getNativeEvent().cast();

Is this correct? I don't like the casting method, so I doubt if this
is the correct way.

I am a bit confused, please a bit help?

-- Ed



--~--~---------~--~----~------------~-------~--~----~
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