Limited availability
The allowFullscreen
property of the HTMLIFrameElement
interface is a boolean value that reflects the allowfullscreen
attribute of the <iframe>
element, indicating whether to allow the iframe's contents to use requestFullscreen()
.
Note: This property is considered a legacy property. Use allow="fullscreen"
and HTMLIFrameElement.allow
instead.
A boolean value.
Examples<iframe id="el" allowfullscreen></iframe>
const el = document.getElementById("el");
console.log(el.allowFullscreen); // Output: true
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.4