fullscreenElement read-only property of the
ShadowRoot interface returns the element within the shadow tree that is currently displayed in full screen.
Element which is currently is displayed in full screen mode,
null if there is no full screen element.
let customElem = document.querySelector('my-shadow-dom-element'); let shadow = customElem.shadowRoot; let fullscreenElem = shadow.fullscreenElement;
BCD tables only load in the browser