@pixi/loaders
Advanced tools
Comparing version 6.1.3 to 6.2.0
/*! | ||
* @pixi/loaders - v6.1.3 | ||
* Compiled Mon, 13 Sep 2021 15:29:31 UTC | ||
* @pixi/loaders - v6.2.0 | ||
* Compiled Mon, 01 Nov 2021 16:52:10 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * @pixi/loaders is licensed under the MIT License. |
/*! | ||
* @pixi/loaders - v6.1.3 | ||
* Compiled Mon, 13 Sep 2021 15:29:31 UTC | ||
* @pixi/loaders - v6.2.0 | ||
* Compiled Mon, 01 Nov 2021 16:52:10 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * @pixi/loaders is licensed under the MIT License. |
/*! | ||
* @pixi/loaders - v6.1.3 | ||
* Compiled Mon, 13 Sep 2021 15:29:31 UTC | ||
* @pixi/loaders - v6.2.0 | ||
* Compiled Mon, 01 Nov 2021 16:52:10 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * @pixi/loaders is licensed under the MIT License. |
@@ -145,3 +145,3 @@ /// <reference path="./global.d.ts" /> | ||
export declare type ILoaderMiddleware = (resource: LoaderResource, next?: (...args: any[]) => void) => void; | ||
export declare type ILoaderMiddleware = (resource: LoaderResource, next: (...args: any[]) => void) => void; | ||
@@ -167,3 +167,3 @@ /** | ||
*/ | ||
pre?(resource: LoaderResource, next?: (...args: any[]) => void): void; | ||
pre?(resource: LoaderResource, next: (...args: any[]) => void): void; | ||
/** | ||
@@ -174,3 +174,3 @@ * Middleware function to run after load | ||
*/ | ||
use?(resource: LoaderResource, next?: (...args: any[]) => void): void; | ||
use?(resource: LoaderResource, next: (...args: any[]) => void): void; | ||
} | ||
@@ -521,3 +521,3 @@ | ||
/** | ||
* When the progress changes the loader and resource are disaptched. | ||
* When the progress changes the loader and resource are dispatched. | ||
* @param loader - The loader the progress is advancing on. | ||
@@ -528,6 +528,7 @@ * @param resource - The resource that has completed or failed to cause the progress to advance. | ||
/** | ||
* When a load completes the loader and resource are dispatched. | ||
* When a load completes without error the loader and resource are dispatched. | ||
* @param loader - The loader that has started loading resources. | ||
* @param resource - The resource that has completed. | ||
*/ | ||
export type OnLoadSignal = (loader: Loader) => void; | ||
export type OnLoadSignal = (loader: Loader, resource: LoaderResource) => void; | ||
/** | ||
@@ -539,3 +540,3 @@ * When the loader starts loading resources it dispatches this callback. | ||
/** | ||
* When an error occurrs the loader and resource are disaptched. | ||
* When an error occurs the loader and resource are dispatched. | ||
* @param loader - The loader the error happened in. | ||
@@ -1203,3 +1204,3 @@ * @param resource - The resource that caused the error. | ||
*/ | ||
export declare class TextureLoader implements ILoaderPlugin { | ||
export declare class TextureLoader { | ||
/** | ||
@@ -1206,0 +1207,0 @@ * Handle SVG elements a text, render with SVGResource. |
{ | ||
"name": "@pixi/loaders", | ||
"version": "6.1.3", | ||
"version": "6.2.0", | ||
"main": "dist/cjs/loaders.js", | ||
@@ -28,7 +28,7 @@ "module": "dist/esm/loaders.js", | ||
"peerDependencies": { | ||
"@pixi/constants": "6.1.3", | ||
"@pixi/core": "6.1.3", | ||
"@pixi/utils": "6.1.3" | ||
"@pixi/constants": "6.2.0", | ||
"@pixi/core": "6.2.0", | ||
"@pixi/utils": "6.2.0" | ||
}, | ||
"gitHead": "2342b551124751206078602eb0e4408df230923e" | ||
"gitHead": "793f21c0d0f2d2a423bd4339f40a569e1ea68711" | ||
} |
Sorry, the diff of this file is too big to display
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 too big to display
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 too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1112532
7572