phaser/src/input/EventData.js

17 lines
613 B
JavaScript
Raw Normal View History

2019-01-16 12:13:14 +00:00
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2019 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* A Phaser Input Event Data object.
*
* This object is passed to the registered event listeners and allows you to stop any further propagation.
*
* @typedef {object} Phaser.Input.EventData
*
* @property {boolean} [cancelled=false] - The cancelled state of this Event.
* @property {function} stopPropagation - Call this method to stop this event from passing any further down the event chain.
*/