shadowRoot property

ShadowRoot? get shadowRoot
inherited

The Element.shadowRoot read-only property represents the shadow root hosted by the element.

Use Element.attachShadow to add a shadow root to an existing element.

Implementation

external ShadowRoot? get shadowRoot;