melonJS
    Preparing search index...

    Function requestFullscreen

    • Triggers a fullscreen request. Requires fullscreen support from the browser/device.

      Re-exported under me.device.* for backwards compatibility; the canonical post-19.7 entry point is Application#requestFullscreen, which uses the Application's own parentElement instead of the deprecated global-game canvas lookup.

      Parameters

      • Optionalelement: Element

        the element to be set in full-screen mode

      Returns void

      since 19.7.0 — use Application#requestFullscreen instead.