开发者

What is DomHelper in google closure?

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


DomHelper 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜