Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@pixi/ticker

Package Overview
Dependencies
Maintainers
2
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pixi/ticker - npm Package Compare versions

Comparing version 6.3.2 to 6.4.0

68

dist/browser/ticker.js
/*!
* @pixi/ticker - v6.3.2
* Compiled Wed, 04 May 2022 17:49:13 UTC
* @pixi/ticker - v6.4.0
* Compiled Wed, 01 Jun 2022 21:14:23 UTC
*

@@ -14,3 +14,2 @@ * @pixi/ticker is licensed under the MIT License.

* Target frames per millisecond.
*
* @static

@@ -28,3 +27,2 @@ * @name TARGET_FPMS

* priority items, such as render, should go later.
*
* @static

@@ -35,7 +33,7 @@ * @constant

* @enum {number}
* @property {number} INTERACTION=50 Highest priority, used for {@link PIXI.InteractionManager}
* @property {number} HIGH=25 High priority updating, {@link PIXI.VideoBaseTexture} and {@link PIXI.AnimatedSprite}
* @property {number} NORMAL=0 Default priority for ticker events, see {@link PIXI.Ticker#add}.
* @property {number} LOW=-25 Low priority used for {@link PIXI.Application} rendering.
* @property {number} UTILITY=-50 Lowest priority used for {@link PIXI.BasePrepare} utility.
* @property {number} [INTERACTION=50] Highest priority, used for {@link PIXI.InteractionManager}
* @property {number} [HIGH=25] High priority updating, {@link PIXI.VideoBaseTexture} and {@link PIXI.AnimatedSprite}
* @property {number} [NORMAL=0] Default priority for ticker events, see {@link PIXI.Ticker#add}.
* @property {number} [LOW=-25] Low priority used for {@link PIXI.Application} rendering.
* @property {number} [UTILITY=-50] Lowest priority used for {@link PIXI.BasePrepare} utility.
*/

@@ -53,3 +51,2 @@ exports.UPDATE_PRIORITY = void 0;

* Internal class for handling the priority sorting of ticker handlers.
*
* @private

@@ -88,3 +85,3 @@ * @class

* @param context - The listener context
* @return `true` if the listener match the arguments
* @returns `true` if the listener match the arguments
*/

@@ -99,3 +96,3 @@ TickerListener.prototype.match = function (fn, context) {

* @param deltaTime - time since the last emit.
* @return Next ticker
* @returns Next ticker
*/

@@ -140,3 +137,3 @@ TickerListener.prototype.emit = function (deltaTime) {

* is considered a hard destroy. Soft destroy maintains the next reference.
* @return The listener to redirect while emitting or removing.
* @returns The listener to redirect while emitting or removing.
*/

@@ -170,3 +167,2 @@ TickerListener.prototype.destroy = function (hard) {

* Animation frames are requested only when necessary, e.g. When the ticker is started and the emitter has listeners.
*
* @class

@@ -230,6 +226,3 @@ * @memberof PIXI

this._protected = false;
/**
* The last time keyframe was executed.
* Maintains a relatively fixed interval with the previous value.
*/
/** The last time keyframe was executed. Maintains a relatively fixed interval with the previous value. */
this._lastFrame = -1;

@@ -255,3 +248,2 @@ this._head = new TickerListener(null, null, Infinity);

* emitter has listeners, a new frame is requested.
*
* @private

@@ -284,3 +276,2 @@ */

* and continues with the previous conditions to request a new frame.
*
* @private

@@ -299,3 +290,2 @@ */

* it is removed or the ticker is stopped.
*
* @param fn - The listener function to be added for updates

@@ -312,3 +302,2 @@ * @param context - The listener context

* Add a handler for the tick event which is only execute once.
*
* @param fn - The listener function to be added for one update

@@ -327,3 +316,2 @@ * @param context - The listener context

* before the rendering.
*
* @private

@@ -362,3 +350,2 @@ * @param listener - Current listener being added.

* If no handlers are left after removing, then it cancels the animation frame.
*
* @param fn - The listener function to be removed

@@ -389,3 +376,2 @@ * @param context - The listener context to be removed

* The number of listeners on this ticker, calculated by walking through linked list
*
* @readonly

@@ -408,6 +394,3 @@ * @member {number}

});
/**
* Starts the ticker. If the ticker has listeners
* a new animation frame is requested at this point.
*/
/** Starts the ticker. If the ticker has listeners a new animation frame is requested at this point. */
Ticker.prototype.start = function () {

@@ -419,6 +402,3 @@ if (!this.started) {

};
/**
* Stops the ticker. If the ticker has requested
* an animation frame it is canceled at this point.
*/
/** Stops the ticker. If the ticker has requested an animation frame it is canceled at this point. */
Ticker.prototype.stop = function () {

@@ -430,6 +410,3 @@ if (this.started) {

};
/**
* Destroy the ticker and don't use after this. Calling
* this method removes all references to internal events.
*/
/** Destroy the ticker and don't use after this. Calling this method removes all references to internal events. */
Ticker.prototype.destroy = function () {

@@ -456,3 +433,2 @@ if (!this._protected) {

* and listeners are added.
*
* @param {number} [currentTime=performance.now()] - the current time of execution

@@ -521,3 +497,2 @@ */

* to scaling {@link PIXI.Ticker#deltaTime}.
*
* @member {number}

@@ -540,3 +515,2 @@ * @readonly

* `0` and `PIXI.settings.TARGET_FPMS * 1000`.
*
* @member {number}

@@ -565,3 +539,2 @@ * @default 10

* Otherwise it will be at least `minFPS`
*
* @member {number}

@@ -598,3 +571,2 @@ * @default 0

* Please follow the examples for usage, including how to opt-out of auto-starting the shared ticker.
*
* @example

@@ -610,3 +582,2 @@ * let ticker = PIXI.Ticker.shared;

* ticker.start();
*
* @example

@@ -620,3 +591,2 @@ * // You may use the shared ticker to render...

* });
*
* @example

@@ -632,3 +602,2 @@ * // Or you can just update it manually.

* animate(performance.now());
*
* @member {PIXI.Ticker}

@@ -655,3 +624,2 @@ * @static

* The property {@link PIXI.Ticker#autoStart} is set to `true` for this instance.
*
* @member {PIXI.Ticker}

@@ -676,3 +644,2 @@ * @static

* Middleware for for Application Ticker.
*
* @example

@@ -682,3 +649,2 @@ * import {TickerPlugin} from '@pixi/ticker';

* Application.registerPlugin(TickerPlugin);
*
* @class

@@ -692,3 +658,2 @@ * @memberof PIXI

* Initialize the plugin with scope of application instance
*
* @static

@@ -722,3 +687,2 @@ * @private

* Convenience method for stopping the render.
*
* @method

@@ -733,3 +697,2 @@ * @memberof PIXI.Application

* Convenience method for starting the render.
*
* @method

@@ -744,3 +707,2 @@ * @memberof PIXI.Application

* Internal reference to the ticker.
*
* @type {PIXI.Ticker}

@@ -754,3 +716,2 @@ * @name _ticker

* Ticker for doing render updates.
*
* @type {PIXI.Ticker}

@@ -769,3 +730,2 @@ * @name ticker

* Clean up the ticker, scoped to application.
*
* @static

@@ -772,0 +732,0 @@ * @private

/*!
* @pixi/ticker - v6.3.2
* Compiled Wed, 04 May 2022 17:49:13 UTC
* @pixi/ticker - v6.4.0
* Compiled Wed, 01 Jun 2022 21:14:23 UTC
*

@@ -5,0 +5,0 @@ * @pixi/ticker is licensed under the MIT License.

/*!
* @pixi/ticker - v6.3.2
* Compiled Wed, 04 May 2022 17:49:13 UTC
* @pixi/ticker - v6.4.0
* Compiled Wed, 01 Jun 2022 21:14:23 UTC
*

@@ -16,3 +16,2 @@ * @pixi/ticker is licensed under the MIT License.

* Target frames per millisecond.
*
* @static

@@ -30,3 +29,2 @@ * @name TARGET_FPMS

* priority items, such as render, should go later.
*
* @static

@@ -37,7 +35,7 @@ * @constant

* @enum {number}
* @property {number} INTERACTION=50 Highest priority, used for {@link PIXI.InteractionManager}
* @property {number} HIGH=25 High priority updating, {@link PIXI.VideoBaseTexture} and {@link PIXI.AnimatedSprite}
* @property {number} NORMAL=0 Default priority for ticker events, see {@link PIXI.Ticker#add}.
* @property {number} LOW=-25 Low priority used for {@link PIXI.Application} rendering.
* @property {number} UTILITY=-50 Lowest priority used for {@link PIXI.BasePrepare} utility.
* @property {number} [INTERACTION=50] Highest priority, used for {@link PIXI.InteractionManager}
* @property {number} [HIGH=25] High priority updating, {@link PIXI.VideoBaseTexture} and {@link PIXI.AnimatedSprite}
* @property {number} [NORMAL=0] Default priority for ticker events, see {@link PIXI.Ticker#add}.
* @property {number} [LOW=-25] Low priority used for {@link PIXI.Application} rendering.
* @property {number} [UTILITY=-50] Lowest priority used for {@link PIXI.BasePrepare} utility.
*/

@@ -55,3 +53,2 @@ exports.UPDATE_PRIORITY = void 0;

* Internal class for handling the priority sorting of ticker handlers.
*
* @private

@@ -90,3 +87,3 @@ * @class

* @param context - The listener context
* @return `true` if the listener match the arguments
* @returns `true` if the listener match the arguments
*/

@@ -101,3 +98,3 @@ TickerListener.prototype.match = function (fn, context) {

* @param deltaTime - time since the last emit.
* @return Next ticker
* @returns Next ticker
*/

@@ -142,3 +139,3 @@ TickerListener.prototype.emit = function (deltaTime) {

* is considered a hard destroy. Soft destroy maintains the next reference.
* @return The listener to redirect while emitting or removing.
* @returns The listener to redirect while emitting or removing.
*/

@@ -172,3 +169,2 @@ TickerListener.prototype.destroy = function (hard) {

* Animation frames are requested only when necessary, e.g. When the ticker is started and the emitter has listeners.
*
* @class

@@ -232,6 +228,3 @@ * @memberof PIXI

this._protected = false;
/**
* The last time keyframe was executed.
* Maintains a relatively fixed interval with the previous value.
*/
/** The last time keyframe was executed. Maintains a relatively fixed interval with the previous value. */
this._lastFrame = -1;

@@ -257,3 +250,2 @@ this._head = new TickerListener(null, null, Infinity);

* emitter has listeners, a new frame is requested.
*
* @private

@@ -286,3 +278,2 @@ */

* and continues with the previous conditions to request a new frame.
*
* @private

@@ -301,3 +292,2 @@ */

* it is removed or the ticker is stopped.
*
* @param fn - The listener function to be added for updates

@@ -314,3 +304,2 @@ * @param context - The listener context

* Add a handler for the tick event which is only execute once.
*
* @param fn - The listener function to be added for one update

@@ -329,3 +318,2 @@ * @param context - The listener context

* before the rendering.
*
* @private

@@ -364,3 +352,2 @@ * @param listener - Current listener being added.

* If no handlers are left after removing, then it cancels the animation frame.
*
* @param fn - The listener function to be removed

@@ -391,3 +378,2 @@ * @param context - The listener context to be removed

* The number of listeners on this ticker, calculated by walking through linked list
*
* @readonly

@@ -410,6 +396,3 @@ * @member {number}

});
/**
* Starts the ticker. If the ticker has listeners
* a new animation frame is requested at this point.
*/
/** Starts the ticker. If the ticker has listeners a new animation frame is requested at this point. */
Ticker.prototype.start = function () {

@@ -421,6 +404,3 @@ if (!this.started) {

};
/**
* Stops the ticker. If the ticker has requested
* an animation frame it is canceled at this point.
*/
/** Stops the ticker. If the ticker has requested an animation frame it is canceled at this point. */
Ticker.prototype.stop = function () {

@@ -432,6 +412,3 @@ if (this.started) {

};
/**
* Destroy the ticker and don't use after this. Calling
* this method removes all references to internal events.
*/
/** Destroy the ticker and don't use after this. Calling this method removes all references to internal events. */
Ticker.prototype.destroy = function () {

@@ -458,3 +435,2 @@ if (!this._protected) {

* and listeners are added.
*
* @param {number} [currentTime=performance.now()] - the current time of execution

@@ -523,3 +499,2 @@ */

* to scaling {@link PIXI.Ticker#deltaTime}.
*
* @member {number}

@@ -542,3 +517,2 @@ * @readonly

* `0` and `PIXI.settings.TARGET_FPMS * 1000`.
*
* @member {number}

@@ -567,3 +541,2 @@ * @default 10

* Otherwise it will be at least `minFPS`
*
* @member {number}

@@ -600,3 +573,2 @@ * @default 0

* Please follow the examples for usage, including how to opt-out of auto-starting the shared ticker.
*
* @example

@@ -612,3 +584,2 @@ * let ticker = PIXI.Ticker.shared;

* ticker.start();
*
* @example

@@ -622,3 +593,2 @@ * // You may use the shared ticker to render...

* });
*
* @example

@@ -634,3 +604,2 @@ * // Or you can just update it manually.

* animate(performance.now());
*
* @member {PIXI.Ticker}

@@ -657,3 +626,2 @@ * @static

* The property {@link PIXI.Ticker#autoStart} is set to `true` for this instance.
*
* @member {PIXI.Ticker}

@@ -678,3 +646,2 @@ * @static

* Middleware for for Application Ticker.
*
* @example

@@ -684,3 +651,2 @@ * import {TickerPlugin} from '@pixi/ticker';

* Application.registerPlugin(TickerPlugin);
*
* @class

@@ -694,3 +660,2 @@ * @memberof PIXI

* Initialize the plugin with scope of application instance
*
* @static

@@ -724,3 +689,2 @@ * @private

* Convenience method for stopping the render.
*
* @method

@@ -735,3 +699,2 @@ * @memberof PIXI.Application

* Convenience method for starting the render.
*
* @method

@@ -746,3 +709,2 @@ * @memberof PIXI.Application

* Internal reference to the ticker.
*
* @type {PIXI.Ticker}

@@ -756,3 +718,2 @@ * @name _ticker

* Ticker for doing render updates.
*
* @type {PIXI.Ticker}

@@ -771,3 +732,2 @@ * @name ticker

* Clean up the ticker, scoped to application.
*
* @static

@@ -774,0 +734,0 @@ * @private

/*!
* @pixi/ticker - v6.3.2
* Compiled Wed, 04 May 2022 17:49:13 UTC
* @pixi/ticker - v6.4.0
* Compiled Wed, 01 Jun 2022 21:14:23 UTC
*

@@ -5,0 +5,0 @@ * @pixi/ticker is licensed under the MIT License.

/*!
* @pixi/ticker - v6.3.2
* Compiled Wed, 04 May 2022 17:49:13 UTC
* @pixi/ticker - v6.4.0
* Compiled Wed, 01 Jun 2022 21:14:23 UTC
*

@@ -12,3 +12,2 @@ * @pixi/ticker is licensed under the MIT License.

* Target frames per millisecond.
*
* @static

@@ -26,3 +25,2 @@ * @name TARGET_FPMS

* priority items, such as render, should go later.
*
* @static

@@ -33,7 +31,7 @@ * @constant

* @enum {number}
* @property {number} INTERACTION=50 Highest priority, used for {@link PIXI.InteractionManager}
* @property {number} HIGH=25 High priority updating, {@link PIXI.VideoBaseTexture} and {@link PIXI.AnimatedSprite}
* @property {number} NORMAL=0 Default priority for ticker events, see {@link PIXI.Ticker#add}.
* @property {number} LOW=-25 Low priority used for {@link PIXI.Application} rendering.
* @property {number} UTILITY=-50 Lowest priority used for {@link PIXI.BasePrepare} utility.
* @property {number} [INTERACTION=50] Highest priority, used for {@link PIXI.InteractionManager}
* @property {number} [HIGH=25] High priority updating, {@link PIXI.VideoBaseTexture} and {@link PIXI.AnimatedSprite}
* @property {number} [NORMAL=0] Default priority for ticker events, see {@link PIXI.Ticker#add}.
* @property {number} [LOW=-25] Low priority used for {@link PIXI.Application} rendering.
* @property {number} [UTILITY=-50] Lowest priority used for {@link PIXI.BasePrepare} utility.
*/

@@ -51,3 +49,2 @@ var UPDATE_PRIORITY;

* Internal class for handling the priority sorting of ticker handlers.
*
* @private

@@ -86,3 +83,3 @@ * @class

* @param context - The listener context
* @return `true` if the listener match the arguments
* @returns `true` if the listener match the arguments
*/

@@ -97,3 +94,3 @@ TickerListener.prototype.match = function (fn, context) {

* @param deltaTime - time since the last emit.
* @return Next ticker
* @returns Next ticker
*/

@@ -138,3 +135,3 @@ TickerListener.prototype.emit = function (deltaTime) {

* is considered a hard destroy. Soft destroy maintains the next reference.
* @return The listener to redirect while emitting or removing.
* @returns The listener to redirect while emitting or removing.
*/

@@ -168,3 +165,2 @@ TickerListener.prototype.destroy = function (hard) {

* Animation frames are requested only when necessary, e.g. When the ticker is started and the emitter has listeners.
*
* @class

@@ -228,6 +224,3 @@ * @memberof PIXI

this._protected = false;
/**
* The last time keyframe was executed.
* Maintains a relatively fixed interval with the previous value.
*/
/** The last time keyframe was executed. Maintains a relatively fixed interval with the previous value. */
this._lastFrame = -1;

@@ -253,3 +246,2 @@ this._head = new TickerListener(null, null, Infinity);

* emitter has listeners, a new frame is requested.
*
* @private

@@ -282,3 +274,2 @@ */

* and continues with the previous conditions to request a new frame.
*
* @private

@@ -297,3 +288,2 @@ */

* it is removed or the ticker is stopped.
*
* @param fn - The listener function to be added for updates

@@ -310,3 +300,2 @@ * @param context - The listener context

* Add a handler for the tick event which is only execute once.
*
* @param fn - The listener function to be added for one update

@@ -325,3 +314,2 @@ * @param context - The listener context

* before the rendering.
*
* @private

@@ -360,3 +348,2 @@ * @param listener - Current listener being added.

* If no handlers are left after removing, then it cancels the animation frame.
*
* @param fn - The listener function to be removed

@@ -387,3 +374,2 @@ * @param context - The listener context to be removed

* The number of listeners on this ticker, calculated by walking through linked list
*
* @readonly

@@ -406,6 +392,3 @@ * @member {number}

});
/**
* Starts the ticker. If the ticker has listeners
* a new animation frame is requested at this point.
*/
/** Starts the ticker. If the ticker has listeners a new animation frame is requested at this point. */
Ticker.prototype.start = function () {

@@ -417,6 +400,3 @@ if (!this.started) {

};
/**
* Stops the ticker. If the ticker has requested
* an animation frame it is canceled at this point.
*/
/** Stops the ticker. If the ticker has requested an animation frame it is canceled at this point. */
Ticker.prototype.stop = function () {

@@ -428,6 +408,3 @@ if (this.started) {

};
/**
* Destroy the ticker and don't use after this. Calling
* this method removes all references to internal events.
*/
/** Destroy the ticker and don't use after this. Calling this method removes all references to internal events. */
Ticker.prototype.destroy = function () {

@@ -454,3 +431,2 @@ if (!this._protected) {

* and listeners are added.
*
* @param {number} [currentTime=performance.now()] - the current time of execution

@@ -519,3 +495,2 @@ */

* to scaling {@link PIXI.Ticker#deltaTime}.
*
* @member {number}

@@ -538,3 +513,2 @@ * @readonly

* `0` and `PIXI.settings.TARGET_FPMS * 1000`.
*
* @member {number}

@@ -563,3 +537,2 @@ * @default 10

* Otherwise it will be at least `minFPS`
*
* @member {number}

@@ -596,3 +569,2 @@ * @default 0

* Please follow the examples for usage, including how to opt-out of auto-starting the shared ticker.
*
* @example

@@ -608,3 +580,2 @@ * let ticker = PIXI.Ticker.shared;

* ticker.start();
*
* @example

@@ -618,3 +589,2 @@ * // You may use the shared ticker to render...

* });
*
* @example

@@ -630,3 +600,2 @@ * // Or you can just update it manually.

* animate(performance.now());
*
* @member {PIXI.Ticker}

@@ -653,3 +622,2 @@ * @static

* The property {@link PIXI.Ticker#autoStart} is set to `true` for this instance.
*
* @member {PIXI.Ticker}

@@ -674,3 +642,2 @@ * @static

* Middleware for for Application Ticker.
*
* @example

@@ -680,3 +647,2 @@ * import {TickerPlugin} from '@pixi/ticker';

* Application.registerPlugin(TickerPlugin);
*
* @class

@@ -690,3 +656,2 @@ * @memberof PIXI

* Initialize the plugin with scope of application instance
*
* @static

@@ -720,3 +685,2 @@ * @private

* Convenience method for stopping the render.
*
* @method

@@ -731,3 +695,2 @@ * @memberof PIXI.Application

* Convenience method for starting the render.
*
* @method

@@ -742,3 +705,2 @@ * @memberof PIXI.Application

* Internal reference to the ticker.
*
* @type {PIXI.Ticker}

@@ -752,3 +714,2 @@ * @name _ticker

* Ticker for doing render updates.
*
* @type {PIXI.Ticker}

@@ -767,3 +728,2 @@ * @name ticker

* Clean up the ticker, scoped to application.
*
* @static

@@ -770,0 +730,0 @@ * @private

/*!
* @pixi/ticker - v6.3.2
* Compiled Wed, 04 May 2022 17:49:13 UTC
* @pixi/ticker - v6.4.0
* Compiled Wed, 01 Jun 2022 21:14:23 UTC
*

@@ -5,0 +5,0 @@ * @pixi/ticker is licensed under the MIT License.

/// <reference path="./global.d.ts" />
/**

@@ -9,3 +8,2 @@ * A Ticker class that runs an update loop that other objects listen to.

* Animation frames are requested only when necessary, e.g. When the ticker is started and the emitter has listeners.
*
* @class

@@ -94,6 +92,3 @@ * @memberof PIXI

private _protected;
/**
* The last time keyframe was executed.
* Maintains a relatively fixed interval with the previous value.
*/
/** The last time keyframe was executed. Maintains a relatively fixed interval with the previous value. */
private _lastFrame;

@@ -107,3 +102,2 @@ /**

* any animation API, just invoke ticker.update(time).
*
* @param time - Time since last tick.

@@ -117,3 +111,2 @@ */

* emitter has listeners, a new frame is requested.
*
* @private

@@ -134,3 +127,2 @@ */

* and continues with the previous conditions to request a new frame.
*
* @private

@@ -142,3 +134,2 @@ */

* it is removed or the ticker is stopped.
*
* @param fn - The listener function to be added for updates

@@ -152,3 +143,2 @@ * @param context - The listener context

* Add a handler for the tick event which is only execute once.
*
* @param fn - The listener function to be added for one update

@@ -164,3 +154,2 @@ * @param context - The listener context

* before the rendering.
*
* @private

@@ -174,3 +163,2 @@ * @param listener - Current listener being added.

* If no handlers are left after removing, then it cancels the animation frame.
*
* @param fn - The listener function to be removed

@@ -183,3 +171,2 @@ * @param context - The listener context to be removed

* The number of listeners on this ticker, calculated by walking through linked list
*
* @readonly

@@ -189,16 +176,7 @@ * @member {number}

get count(): number;
/**
* Starts the ticker. If the ticker has listeners
* a new animation frame is requested at this point.
*/
/** Starts the ticker. If the ticker has listeners a new animation frame is requested at this point. */
start(): void;
/**
* Stops the ticker. If the ticker has requested
* an animation frame it is canceled at this point.
*/
/** Stops the ticker. If the ticker has requested an animation frame it is canceled at this point. */
stop(): void;
/**
* Destroy the ticker and don't use after this. Calling
* this method removes all references to internal events.
*/
/** Destroy the ticker and don't use after this. Calling this method removes all references to internal events. */
destroy(): void;

@@ -215,3 +193,2 @@ /**

* and listeners are added.
*
* @param {number} [currentTime=performance.now()] - the current time of execution

@@ -226,3 +203,2 @@ */

* to scaling {@link PIXI.Ticker#deltaTime}.
*
* @member {number}

@@ -239,3 +215,2 @@ * @readonly

* `0` and `PIXI.settings.TARGET_FPMS * 1000`.
*
* @member {number}

@@ -252,3 +227,2 @@ * @default 10

* Otherwise it will be at least `minFPS`
*
* @member {number}

@@ -267,3 +241,2 @@ * @default 0

* Please follow the examples for usage, including how to opt-out of auto-starting the shared ticker.
*
* @example

@@ -279,3 +252,2 @@ * let ticker = PIXI.Ticker.shared;

* ticker.start();
*
* @example

@@ -289,3 +261,2 @@ * // You may use the shared ticker to render...

* });
*
* @example

@@ -301,3 +272,2 @@ * // Or you can just update it manually.

* animate(performance.now());
*
* @member {PIXI.Ticker}

@@ -313,3 +283,2 @@ * @static

* The property {@link PIXI.Ticker#autoStart} is set to `true` for this instance.
*
* @member {PIXI.Ticker}

@@ -325,3 +294,2 @@ * @static

* Middleware for for Application Ticker.
*
* @example

@@ -331,3 +299,2 @@ * import {TickerPlugin} from '@pixi/ticker';

* Application.registerPlugin(TickerPlugin);
*
* @class

@@ -343,3 +310,2 @@ * @memberof PIXI

* Initialize the plugin with scope of application instance
*
* @static

@@ -352,3 +318,2 @@ * @private

* Clean up the ticker, scoped to application.
*
* @static

@@ -364,3 +329,2 @@ * @private

* priority items, such as render, should go later.
*
* @static

@@ -371,7 +335,7 @@ * @constant

* @enum {number}
* @property {number} INTERACTION=50 Highest priority, used for {@link PIXI.InteractionManager}
* @property {number} HIGH=25 High priority updating, {@link PIXI.VideoBaseTexture} and {@link PIXI.AnimatedSprite}
* @property {number} NORMAL=0 Default priority for ticker events, see {@link PIXI.Ticker#add}.
* @property {number} LOW=-25 Low priority used for {@link PIXI.Application} rendering.
* @property {number} UTILITY=-50 Lowest priority used for {@link PIXI.BasePrepare} utility.
* @property {number} [INTERACTION=50] Highest priority, used for {@link PIXI.InteractionManager}
* @property {number} [HIGH=25] High priority updating, {@link PIXI.VideoBaseTexture} and {@link PIXI.AnimatedSprite}
* @property {number} [NORMAL=0] Default priority for ticker events, see {@link PIXI.Ticker#add}.
* @property {number} [LOW=-25] Low priority used for {@link PIXI.Application} rendering.
* @property {number} [UTILITY=-50] Lowest priority used for {@link PIXI.BasePrepare} utility.
*/

@@ -378,0 +342,0 @@ export declare enum UPDATE_PRIORITY {

{
"name": "@pixi/ticker",
"version": "6.3.2",
"version": "6.4.0",
"main": "dist/cjs/ticker.js",
"module": "dist/esm/ticker.js",
"bundle": "dist/browser/ticker.js",
"types": "index.d.ts",
"exports": {
".": {
"import": {
"default": "./dist/cjs/ticker.js",
"types": "./index.d.ts"
},
"require": {
"default": "./dist/esm/ticker.js",
"types": "./index.d.ts"
}
}
},
"description": "Tickers are control the timings within PixiJS",

@@ -28,5 +41,5 @@ "author": "Mat Groves",

"peerDependencies": {
"@pixi/settings": "6.3.2"
"@pixi/settings": "6.4.0"
},
"gitHead": "87031295631dcd7db3e24b99ed7ceb2c4f963a40"
"gitHead": "e7eaa713b6e0eeb335e90384aec778f5c99c60d5"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc