@rive-app/canvas-advanced-lite
Advanced tools
Comparing version 2.9.3 to 2.10.0
{ | ||
"name": "@rive-app/canvas-advanced-lite", | ||
"version": "2.9.3", | ||
"version": "2.10.0", | ||
"description": "Rive's lite low-level canvas based web api.", | ||
@@ -5,0 +5,0 @@ "main": "canvas_advanced.mjs", |
@@ -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 not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
393737
1068