1. Mozilla
  2. Add-ons
  3. Browser extensions
  4. JavaScript APIs
  5. dom

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

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /