@rive-app/webgl 1.0.36 → 1.0.39
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.js +124 -123
- package/rive.js.map +1 -1
- package/rive.wasm +0 -0
- package/rive_advanced.mjs.d.ts +2 -3
package/rive.wasm
CHANGED
|
Binary file
|
package/rive_advanced.mjs.d.ts
CHANGED
|
@@ -159,14 +159,13 @@ interface RiveOptions {
|
|
|
159
159
|
/** Time of the animation in seconds */
|
|
160
160
|
time: number;
|
|
161
161
|
didLoop: boolean;
|
|
162
|
-
constructor(animation: LinearAnimation);
|
|
162
|
+
constructor(animation: LinearAnimation, artboard: Artboard);
|
|
163
163
|
advance(sec: number): any;
|
|
164
164
|
/**
|
|
165
165
|
* Apply animation on the artboard
|
|
166
|
-
* @param artboard the Artboard on which apply the frame.
|
|
167
166
|
* @param mix 0-1 the strength of the animation in the animations mix.
|
|
168
167
|
*/
|
|
169
|
-
apply(
|
|
168
|
+
apply(mix: number): any;
|
|
170
169
|
// Deletes the backing Wasm animation instance
|
|
171
170
|
delete(): void;
|
|
172
171
|
}
|