The goog.dom.fullscreen Namespace

The goog.dom.fullscreen.EventType Enum

Event types for full screen. … more

.exitFullScreen(opt_domHelper)

Exits full screen.

opt_domHelper {!goog.dom.DomHelper=}
The DomHelper for the DOM being queried. If not provided, use the current DOM.

.isFullScreen(opt_domHelper)

Determines if the document is full screen.

opt_domHelper {!goog.dom.DomHelper=}
The DomHelper for the DOM being queried. If not provided, use the current DOM.
returns {boolean}
Whether the document is full screen.

.isSupported(opt_domHelper)

Determines if full screen is supported.

opt_domHelper {!goog.dom.DomHelper=}
The DomHelper for the DOM being queried. If not provided, use the current DOM.
returns {boolean}
True iff full screen is supported.

.requestFullScreen(element)

Requests putting the element in full screen.

element {!Element}
The element to put full screen.

.requestFullScreenWithKeys(element)

Requests putting the element in full screen with full keyboard access.

element {!Element}
The element to put full screen.