Could somebody explain what is the meaning of DomHelper in google closure?
What is it for and how it may be useful?
Thanks!
Could somebody explain what is the meaning of DomHelper in google closure?
What is it for and how it may be useful?
Thanks!
Assuming you are referring to goog.dom.DomHelper - it looks like it provides an efficient, cross-browser solution to DOM manipulation.
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.