getRootNode method
- 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]);