@rive-app/webgl-single 1.0.48 → 1.0.51
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 +2 -2
- package/rive.js.map +1 -1
- package/rive_advanced.mjs.d.ts +6 -0
package/rive_advanced.mjs.d.ts
CHANGED
|
@@ -184,6 +184,12 @@ interface RiveOptions {
|
|
|
184
184
|
advance(sec: number): any;
|
|
185
185
|
stateChangedCount(): number;
|
|
186
186
|
stateChangedNameByIndex(i: number): string;
|
|
187
|
+
|
|
188
|
+
// Call with coordinates in Artboard space
|
|
189
|
+
pointerDown(x: number, y: number): void;
|
|
190
|
+
pointerMove(x: number, y: number): void;
|
|
191
|
+
pointerUp(x: number, y: number): void;
|
|
192
|
+
|
|
187
193
|
// Deletes the backing Wasm state machine instance
|
|
188
194
|
delete(): void;
|
|
189
195
|
}
|