phaser/src/core/events/FOCUS_EVENT.js

18 lines
536 B
JavaScript
Raw Normal View History

/**
* @author Richard Davey <rich@photonstorm.com>
2022-02-28 14:29:51 +00:00
* @copyright 2022 Photon Storm Ltd.
2019-05-10 15:15:04 +00:00
* @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';