Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

getRootNode

Description

The getRootNode of Node for JS returns node’s root.

Syntax

node.getRootNode()
node.getRootNode(options)

Parameters

composed

Include shadow root.

Examples

1 · void

2 · options | composed | false

3 · options | composed | true

baseURI

childNodes

cloneNode

compareDocumentPosition

contains

firstChild

hasChildNodes

isConnected

isEqualNode

lastChild

nextSibling

nodeName

nodeType

normalize

ownerDocument

parentElement

parentNode

previousSibling

Web Hypertext Application Technology Working Group (WHATWG)

HomeMenu