NodeIterator extension type

The NodeIterator interface represents an iterator to traverse nodes of a DOM subtree in document order.

on
Implemented types

Properties

filter NodeFilter?
no setter
hashCode int
The hash code for this object.
no setterinherited
pointerBeforeReferenceNode bool
no setter
referenceNode Node
no setter
root Node
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
whatToShow int
no setter

Methods

detach() → void
The NodeIterator.detach() method is a no-op, kept for backward compatibility only.
nextNode() Node?
The NodeIterator.nextNode() method returns the next node in the set represented by the NodeIterator and advances the position of the iterator within the set. The first call to nextNode() returns the first node in the set.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
previousNode() Node?
The NodeIterator.previousNode() method returns the previous node in the set represented by the NodeIterator and moves the position of the iterator backwards within the set.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited