@rive-app/canvas-single
Advanced tools
Comparing version
{ | ||
"name": "@rive-app/canvas-single", | ||
"version": "2.9.3", | ||
"version": "2.10.0", | ||
"description": "Rive's high-level canvas based web api all in one js file.", | ||
@@ -5,0 +5,0 @@ "main": "rive.js", |
@@ -94,2 +94,11 @@ interface RiveOptions { | ||
/** | ||
* A Rive-specific function to "flush" queued up draw calls from using the renderer. | ||
* | ||
* This should only be invoked once at the end of a loop in a regular JS | ||
* requestAnimationFrame loop, and should not be used with the Rive-wrapped | ||
* requestAnimationFrame (aka, the requestAnimationFrame() API on this object) as that | ||
* API will handle flushing the draw calls implicitly. | ||
*/ | ||
resolveAnimationFrame(): void; | ||
/** | ||
* Debugging tool to showcase the FPS in the corner of the screen in a new div. If a callback | ||
@@ -96,0 +105,0 @@ * function is provided, this function passes the FPS count to the callback instead of creating a |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2989187
23.48%8962
14.15%