@rive-app/webgl-single 2.14.1 → 2.14.3
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 +3 -1
- package/rive.js +209 -13
- package/rive.js.map +1 -1
package/package.json
CHANGED
package/rive.d.ts
CHANGED
|
@@ -117,7 +117,8 @@ export declare enum EventType {
|
|
|
117
117
|
Draw = "draw",
|
|
118
118
|
Advance = "advance",
|
|
119
119
|
StateChange = "statechange",
|
|
120
|
-
RiveEvent = "riveevent"
|
|
120
|
+
RiveEvent = "riveevent",
|
|
121
|
+
AudioStatusChange = "audiostatuschange"
|
|
121
122
|
}
|
|
122
123
|
export type RiveEventPayload = rc.RiveEvent | rc.OpenUrlEvent;
|
|
123
124
|
export interface Event {
|
|
@@ -311,6 +312,7 @@ export declare class Rive {
|
|
|
311
312
|
isTouchScrollEnabled: boolean;
|
|
312
313
|
constructor(params: RiveParameters);
|
|
313
314
|
static new(params: RiveParameters): Rive;
|
|
315
|
+
private onSystemAudioChanged;
|
|
314
316
|
private init;
|
|
315
317
|
/**
|
|
316
318
|
* Setup Rive Listeners on the canvas
|