mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +00:00
Merge pull request #6685 from samme/docs/dragend-dropped
Docs: add `dropped` argument in DRAG_END, GAMEOBJECT_DRAG_END
This commit is contained in:
commit
b6c7b51f3d
2 changed files with 2 additions and 0 deletions
|
@ -19,5 +19,6 @@
|
|||
*
|
||||
* @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event.
|
||||
* @param {Phaser.GameObjects.GameObject} gameObject - The interactive Game Object that this pointer stopped dragging.
|
||||
* @param {boolean} dropped - Whether the Game Object was dropped onto a target.
|
||||
*/
|
||||
module.exports = 'dragend';
|
||||
|
|
|
@ -22,5 +22,6 @@
|
|||
* @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event.
|
||||
* @param {number} dragX - The x coordinate where the Pointer stopped dragging the Game Object, in world space.
|
||||
* @param {number} dragY - The y coordinate where the Pointer stopped dragging the Game Object, in world space.
|
||||
* @param {boolean} dropped - Whether the Game Object was dropped onto a target.
|
||||
*/
|
||||
module.exports = 'dragend';
|
||||
|
|
Loading…
Reference in a new issue