phaser/src/input/events/POINTERLOCK_CHANGE_EVENT.js
2020-01-15 12:07:09 +00:00

18 lines
573 B
JavaScript

/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Input Manager Pointer Lock Change Event.
*
* This event is dispatched by the Input Manager when it is processing a native Pointer Lock Change DOM Event.
*
* @event Phaser.Input.Events#POINTERLOCK_CHANGE
* @since 3.0.0
*
* @param {Event} event - The native DOM Event.
* @param {boolean} locked - The locked state of the Mouse Pointer.
*/
module.exports = 'pointerlockchange';