Movatterモバイル変換


[0]ホーム

URL:


MDN Web Docs

ShadowRoot: fullscreenElement property

Limited availability

ThefullscreenElement read-only property of theShadowRoot interface returns the element within the shadow tree that is currently displayed in full screen.

Value

TheElement which is currently is displayed in full screen mode,ornull if there is no full screen element.

Examples

js
let customElem = document.querySelector("my-shadow-dom-element");let shadow = customElem.shadowRoot;let fullscreenElem = shadow.fullscreenElement;

Specifications

Specification
Fullscreen API
# ref-for-dom-document-fullscreenelement②

Browser compatibility

See also

Help improve MDN

Learn how to contribute.

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp