admin管理员组文章数量:1389772
Could somebody explain what is the meaning of DomHelper in google closure?
What is it for and how it may be useful?
Thanks!
edit: Here is a more detailed answer
Could somebody explain what is the meaning of DomHelper in google closure?
What is it for and how it may be useful?
Thanks!
edit: Here is a more detailed answer
Share Improve this question edited Feb 19, 2010 at 17:09 Evgeny asked Feb 18, 2010 at 22:36 EvgenyEvgeny 10.9k10 gold badges62 silver badges72 bronze badges2 Answers
Reset to default 8DomHelper
offers similar functionality to that provided by static utility methods within goog.dom
. The difference is that a DomHelper
instance can be bound to a document
object corresponding to a different window, such as an IFrame, or the parent frame. This basically allows UI controls to conduct their DOM manipulations within the confines of the correct window, even if the actual objects live in another.
Assuming you are referring to goog.dom.DomHelper - it looks like it provides an efficient, cross-browser solution to DOM manipulation.
本文标签: javascriptWhat is DomHelper in google closureStack Overflow
版权声明:本文标题:javascript - What is DomHelper in google closure? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744621431a2616050.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论