This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

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

See also

Other articles