WebIDLpedia

NodeIterator interface

Definition

DOM Standard defines NodeIterator



[Exposed=Window]
interface NodeIterator {
  [SameObject] readonly attribute Node root;
  readonly attribute Node referenceNode;
  readonly attribute boolean pointerBeforeReferenceNode;
  readonly attribute unsigned long whatToShow;
  readonly attribute NodeFilter? filter;

  Node? nextNode();
  Node? previousNode();

  undefined detach();
};

Methods and attributes that return objects implementing NodeIterator

Referring IDL interfaces/dictionaries