phaser/src/gameobjects/events/VIDEO_SEEKED_EVENT.js

21 lines
618 B
JavaScript
Raw Normal View History

/**
* @author Richard Davey <rich@photonstorm.com>
2022-02-28 14:29:51 +00:00
* @copyright 2022 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Video Game Object Seeked Event.
2022-02-28 14:29:51 +00:00
*
* This event is dispatched when a Video completes seeking to a new point in its timeline.
2022-02-28 14:29:51 +00:00
*
* Listen for it from a Video Game Object instance using `Video.on('seeked', listener)`.
*
* @event Phaser.GameObjects.Events#VIDEO_SEEKED
* @type {string}
* @since 3.20.0
2022-02-28 14:29:51 +00:00
*
* @param {Phaser.GameObjects.Video} video - The Video Game Object which completed seeking.
*/
module.exports = 'seeked';