最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - What is DomHelper in google closure? - Stack Overflow

programmeradmin3浏览0评论

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 badges
Add a ment  | 

2 Answers 2

Reset to default 8

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)

  1. 暂无评论