shadowRoot property

ShadowRoot? get shadowRoot

Gets the shadow root of this component.

Returns null if no shadow root is attached.

Implementation

web.ShadowRoot? get shadowRoot => _shadowRoot;