A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/NodeIterator/root below:

root ยท WebPlatform Docs

root Summary

The NodeIterator.root read-only property represents the Node that is the root of what the NodeIterator traverses.

Property of dom/NodeIteratordom/NodeIterator

Syntax

Note: This property is read-only.

var node = element.root;
Return Value

Returns an object of type DOM NodeDOM Node

Examples
var nodeIterator = document.createNodeIterator(
    document.body,
    NodeFilter.SHOW_ELEMENT,
    { acceptNode: function(node) { return NodeFilter.FILTER_ACCEPT; } },
    false
);
root = nodeIterator.root; 
Syntax

root = nodeIterator.root;

Standards information Related specifications
DOM
Living Standard
Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4