How come you always know exactly to point out the correct piece of doc
snippet ;).. That keeps suprising me... like you memorized them...
thanks...
Anyway, what is the best way to discover the element type in this
case?
For example an InputElement?...
I can't use the tag name in the InputElement a
On 2 déc, 12:10, Ed wrote:
> I receive an element in a Clickhandler like this:
> final Element el = event.getNativeEvent().getEventTarget().cast()
>
> It concerns a DIV element which the tag name shows.
>
> However, the following result in true:
> el instanceof DivElement (as expected).
> el ins
I receive an element in a Clickhandler like this:
final Element el = event.getNativeEvent().getEventTarget().cast()
It concerns a DIV element which the tag name shows.
However, the following result in true:
el instanceof DivElement (as expected).
el instanceof InputElement (not expected!!).
el in