requestFullscreen
Summary
The requestFullscreen method provides a way for presenting web content using the user’s entire screen. The API lets you easily direct the browser to make an element — and its children, if any — occupy the full available screen space, without borders or other chrome elements.
Method of dom/Elementdom/Element
Syntax
element.requestFullscreen();
Return Value
No return value
Related specifications
- Fullscreen
- Working Draft