Skip to content

NodeIterator

Generated from idl/dom.webidl when the site was built at 7aa23e2.

NodeIterator is an interface in idl/dom.webidl, exposed in Window. What it does is on MDN; this page says what niso has of it.

The web features its members belong to, each with its Baseline status on the web and how much of the feature’s WPT suite passes in niso (see Web platform support).

Feature On the web In niso Members
DOM Widely available No WPT tests WPT maps no test to it 8
attribute
[SameObject] readonly attribute Node root;
int32_t niso_node_iterator_get_root(niso_dom* dom, niso_handle self, niso_handle* out);
attribute
readonly attribute Node referenceNode;
int32_t niso_node_iterator_get_reference_node(niso_dom* dom, niso_handle self, niso_handle* out);
attribute
readonly attribute boolean pointerBeforeReferenceNode;
int32_t niso_node_iterator_get_pointer_before_reference_node(niso_dom* dom, niso_handle self, bool* out);
attribute
readonly attribute unsigned long whatToShow;
int32_t niso_node_iterator_get_what_to_show(niso_dom* dom, niso_handle self, uint32_t* out);
attribute
readonly attribute NodeFilter? filter;
int32_t niso_node_iterator_get_filter(niso_dom* dom, niso_handle self, void** out);
operation
[NisoReentrant] Node? nextNode();
int32_t niso_node_iterator_next_node(niso_dom* dom, niso_handle self, niso_handle* out);
operation
[NisoReentrant] Node? previousNode();
int32_t niso_node_iterator_previous_node(niso_dom* dom, niso_handle self, niso_handle* out);
operation
undefined detach();
int32_t niso_node_iterator_detach(niso_dom* dom, niso_handle self);