phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.
18 lines (16 loc) • 536 B
JavaScript
/**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Game Focus Event.
*
* This event is dispatched by the Game Visibility Handler when the window in which the Game instance is embedded
* enters a focused state. The focus event is raised when the window re-gains focus, having previously lost it.
*
* @event Phaser.Core.Events#FOCUS
* @type {string}
* @since 3.0.0
*/
module.exports = 'focus';