dom

Access special extension only DOM features.

Functions

dom.openOrClosedShadowRoot()

Gets the open shadow root or the closed shadow root hosted by the specified element. If the shadow root isn't attached to the element, it will return null.

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Firefox for Android
Safari on iOS
dom
openOrClosedShadowRoot