@rive-app/webgl-single 1.1.2 → 1.1.4
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 +7 -0
- package/rive.js +20 -17
- package/rive.js.map +1 -1
- package/rive_advanced.mjs.d.ts +61 -20
package/package.json
CHANGED
package/rive.d.ts
CHANGED
|
@@ -182,6 +182,12 @@ export interface RiveParameters {
|
|
|
182
182
|
layout?: Layout;
|
|
183
183
|
autoplay?: boolean;
|
|
184
184
|
useOffscreenRenderer?: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* Turn off Rive Listeners. This means state machines that have Listeners
|
|
187
|
+
* will not be invoked, and also, no event listeners pertaining to Listeners
|
|
188
|
+
* will be attached to the <canvas> element
|
|
189
|
+
*/
|
|
190
|
+
shouldDisableRiveListeners?: boolean;
|
|
185
191
|
onLoad?: EventCallback;
|
|
186
192
|
onLoadError?: EventCallback;
|
|
187
193
|
onPlay?: EventCallback;
|
|
@@ -226,6 +232,7 @@ export interface RiveLoadParameters {
|
|
|
226
232
|
animations?: string | string[];
|
|
227
233
|
stateMachines?: string | string[];
|
|
228
234
|
useOffscreenRenderer?: boolean;
|
|
235
|
+
shouldDisableRiveListeners?: boolean;
|
|
229
236
|
}
|
|
230
237
|
export interface RiveResetParameters {
|
|
231
238
|
artboard?: string;
|