shadowRoot

Returns the ShadowRoot for internals's target element, if the target element is a shadow host, or null otherwise.

MDN Reference