phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.
19 lines (17 loc) • 606 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 Blur Event.
*
* This event is dispatched by the Game Visibility Handler when the window in which the Game instance is embedded
* enters a blurred state. The blur event is raised when the window loses focus. This can happen if a user swaps
* tab, or if they simply remove focus from the browser to another app.
*
* @event Phaser.Core.Events#BLUR
* @type {string}
* @since 3.0.0
*/
module.exports = 'blur';