Closure Library API Documentation
Go to class or file:
cssom.iframe.style.NodeAncestry_
Extends
Represents an element and all its parent/ancestor nodes. This class exists as an optimization so we run tests on an element hierarchy multiple times without walking the dom each time.
Useful links
Source Code
Git
Inheritance
goog.cssom.iframe.style.NodeAncestry_
Constructor
goog.cssom.iframe.style.NodeAncestry_(
el
)
Parameters
el
:
Element
The DOM element whose ancestry should be stored.
Public
Protected
Private
Instance Properties
Defined in
goog.cssom.iframe.style.NodeAncestry_
nodes
:
Array of nodes in order of hierarchy from the top of the document to the node passed to the constructor
Code »
uid
:
No description.
Code »
Static Properties
goog.cssom.iframe.style.NodeAncestry_.
instances_
:
Object for caching existing NodeAncestry instances.
Code »
Package cssom.iframe.style
Package Reference