Re: "Best" way to check if an Element is attached?
Why? What's wrong with isOrHasChild?
That's why I am asking.
I can imagine that walking up the tree is faster if you have a lot of nested elements.
Why should this be "just" as fast?
(In part of my code with many nested stuff, I need to know if it's attached, and it needs to be fast).
(btw, you could also use the document itself instead of the body)
Not realy, see this post: https://groups.google.com/forum/#!topic/google-web-toolkit/LR1XDOWN2pg
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home