melonJS
    Preparing search index...

    Variable autoFocus

    autoFocus: boolean = true

    Specify whether to automatically bring the window to the front.

    Read this binding to inspect the current value; the write surface is setAutoFocus — direct assignment via the ESM namespace (me.device.autoFocus = false) always threw a TypeError, since namespace imports are read-only externally regardless of let / const. The setter is the only way to mutate the flag from user code.

    true