English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
fullscreenElementA read-only property returns the element currently displayed in full-screen mode in this document.
If the document is not currently in full-screen mode, the returned value is null.
Usingelement.requestFullscreen()Method to view the element in full-screen mode.
document.fullscreenElement
var x = document.fullscreenElement;
The numbers in the table specify the first browser version that fully supports the fullscreenElement property.
-webkit-,-ms-And-moz-The first number specifies the first version using the supplier prefix.
Property | |||||
fullscreenElement | 53 -webkit- | 64 -moz- | 9 -webkit- | 15 -webkit- | 12 -ms- |
Return Value: | Returns the element currently in full-screen mode, or null if the document is not currently in full-screen mode |
---|---|
DOM Version: | DOM Level3 |