$shadowRoot function

Query $shadowRoot(
  1. ShadowRoot shadowRoot
)

Return a WindowQuery wrapping the given window. If window is omitted, the default window instance is used.

Implementation

Query $shadowRoot(ShadowRoot shadowRoot) => new _ShadowRootQuery(shadowRoot);