@rive-app/canvas-single
Advanced tools
Comparing version
{ | ||
"name": "@rive-app/canvas-single", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Rive's high-level canvas based web api all in one js file.", | ||
@@ -5,0 +5,0 @@ "main": "rive.js", |
@@ -109,2 +109,3 @@ import * as rc from "./rive_advanced.mjs"; | ||
Draw = "draw", | ||
Advance = "advance", | ||
StateChange = "statechange" | ||
@@ -114,3 +115,3 @@ } | ||
type: EventType; | ||
data?: string | string[] | LoopEvent; | ||
data?: string | string[] | LoopEvent | number; | ||
} | ||
@@ -200,2 +201,3 @@ /** | ||
onStateChange?: EventCallback; | ||
onAdvance?: EventCallback; | ||
/** | ||
@@ -202,0 +204,0 @@ * @deprecated Use `onLoad()` instead |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
864878
3.7%4364
1.72%