Phaser API Documentation

  Version: 
Fullscreen

Description:

Determines the full screen support of the browser running this Phaser Game instance. These values are read-only and populated during the boot sequence of the game. They are then referenced by internal game systems and are available for you to access via this.sys.game.device.fullscreen from within any Scene.

Properties:
name type description
available boolean

Does the browser support the Full Screen API?

keyboard boolean

Does the browser support access to the Keyboard during Full Screen mode?

cancel string

If the browser supports the Full Screen API this holds the call you need to use to cancel it.

request string

If the browser supports the Full Screen API this holds the call you need to use to activate it.

Type:
object
Since: 3.0.0
Source: src/device/Fullscreen.js (Line 7)