PokéRogue
    Preparing search index...

    Type Alias Fullscreen

    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.

    type Fullscreen = {
        active: boolean;
        available: boolean;
        cancel: string;
        keyboard: boolean;
        request: string;
    }
    Index
    active: boolean

    Is the browser currently in fullscreen mode? This is a read-only getter that checks the various vendor-prefixed fullscreen element properties on the document.

    available: boolean

    Does the browser support the Full Screen API?

    cancel: string

    If the browser supports the Full Screen API, this holds the name of the method to call on the document in order to exit fullscreen mode.

    keyboard: boolean

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

    request: string

    If the browser supports the Full Screen API, this holds the name of the method to call on a DOM element in order to request fullscreen mode.