UNPKG

@theatrejs/theatrejs

Version:

🎮 A JavaScript 2D Game Engine focused on creating pixel art games.

78 lines (68 loc) • 1.31 kB
/** * @module EVENT_TYPES/NATIVE */ /** * The native 'BEFORE_UNLOAD' event type. * @type {'beforeunload'} * @constant * * @memberof module:EVENT_TYPES/NATIVE */ const BEFORE_UNLOAD = 'beforeunload'; /** * The native 'BLUR' event type. * @type {'blur'} * @constant * * @memberof module:EVENT_TYPES/NATIVE */ const BLUR = 'blur'; /** * The native 'CLICK' event type. * @type {'click'} * @constant * * @memberof module:EVENT_TYPES/NATIVE */ const CLICK = 'click'; /** * The native 'CONTEXT_MENU' event type. * @type {'contextmenu'} * @constant * * @memberof module:EVENT_TYPES/NATIVE */ const CONTEXT_MENU = 'contextmenu'; /** * The native 'GAMEPAD_CONNECTED' event type. * @type {'gamepadconnected'} * @constant * * @memberof module:EVENT_TYPES/NATIVE */ const GAMEPAD_CONNECTED = 'gamepadconnected'; /** * The native 'GAMEPAD_DISCONNECTED' event type. * @type {'gamepaddisconnected'} * @constant * * @memberof module:EVENT_TYPES/NATIVE */ const GAMEPAD_DISCONNECTED = 'gamepaddisconnected'; /** * The native 'READING' event type. * @type {'reading'} * @constant * * @memberof module:EVENT_TYPES/NATIVE */ const READING = 'reading'; export { BEFORE_UNLOAD, BLUR, CLICK, CONTEXT_MENU, GAMEPAD_CONNECTED, GAMEPAD_DISCONNECTED, READING };