Limited availability
The fullscreenElement
read-only property of the ShadowRoot
interface returns the element within the shadow tree that is currently displayed in full screen.
The Element
which is currently is displayed in full screen mode, or null
if there is no full screen element.
let customElem = document.querySelector("my-shadow-dom-element");
let shadow = customElem.shadowRoot;
let fullscreenElem = shadow.fullscreenElement;
Specifications Browser compatibility See also
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3