@rive-app/canvas 2.27.5 → 2.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/rive.d.ts +2 -0
- package/rive.js +624 -603
- package/rive.js.map +1 -1
- package/rive.wasm +0 -0
- package/rive_advanced.mjs.d.ts +1 -0
- package/rive_fallback.wasm +0 -0
package/package.json
CHANGED
package/rive.d.ts
CHANGED
|
@@ -317,6 +317,7 @@ export declare class RiveFile {
|
|
|
317
317
|
constructor(params: RiveFileParameters);
|
|
318
318
|
private initData;
|
|
319
319
|
init(): Promise<void>;
|
|
320
|
+
private fireLoadError;
|
|
320
321
|
/**
|
|
321
322
|
* Subscribe to Rive-generated events
|
|
322
323
|
* @param type the type of event to subscribe to
|
|
@@ -882,6 +883,7 @@ export declare class ViewModelInstanceList extends ViewModelInstanceValue {
|
|
|
882
883
|
removeInstance(instance: ViewModelInstance): void;
|
|
883
884
|
removeInstanceAt(index: number): void;
|
|
884
885
|
instanceAt(index: number): ViewModelInstance | null;
|
|
886
|
+
swap(a: number, b: number): void;
|
|
885
887
|
internalHandleCallback(callback: Function): void;
|
|
886
888
|
}
|
|
887
889
|
export declare class ViewModelInstanceColor extends ViewModelInstanceValue {
|