phaser/src/core/events/FOCUS_EVENT.js
2023-01-02 17:36:27 +00:00

17 lines
541 B
JavaScript

/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2013-2023 Photon Storm Ltd.
* @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';