getRootNode method

Node getRootNode([
  1. GetRootNodeOptions options
])

The getRootNode() method of the Node interface returns the context object's root, which optionally includes the shadow root if it is available.

Implementation

external Node getRootNode([GetRootNodeOptions options]);