search

goog.dom.iter.AncestorIterator

Provided By
Extends
All Implemented Interfaces

Iterator over a Node's ancestors, stopping after the document body.

new AncestorIterator( node, opt_includeNode )

Parameters
node(Node|null)

The node to start with.

opt_includeNodeboolean=

Whether to return the given node as the first return value from next.

Instance Methods