Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rive-app/webgl

Package Overview
Dependencies
Maintainers
5
Versions
215
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rive-app/webgl - npm Package Compare versions

Comparing version 2.13.0 to 2.13.2

2

package.json
{
"name": "@rive-app/webgl",
"version": "2.13.0",
"version": "2.13.2",
"description": "Rive's webgl based web api.",

@@ -5,0 +5,0 @@ "main": "rive.js",

@@ -8,2 +8,5 @@ import * as rc from "./rive_advanced.mjs";

export type AssetLoadCallback = (asset: rc.FileAsset, bytes: Uint8Array) => Boolean;
interface SetupRiveListenersOptions {
isTouchScrollEnabled?: boolean;
}
/**

@@ -207,2 +210,8 @@ * Type for artboard bounds

/**
* For Rive Listeners, allows scrolling behavior to still occur on canvas elements
* when a touch/drag action is performed on touch-enabled devices. Otherwise,
* scroll behavior may be prevented on touch/drag actions on the canvas by default.
*/
isTouchScrollEnabled?: boolean;
/**
* Enable Rive Events to be handled by the runtime. This means any special Rive Event may have

@@ -303,6 +312,17 @@ * a side effect that takes place implicitly.

frameCount: number;
isTouchScrollEnabled: boolean;
constructor(params: RiveParameters);
static new(params: RiveParameters): Rive;
private init;
private setupRiveListeners;
/**
* Setup Rive Listeners on the canvas
* @param riveListenerOptions - Enables TouchEvent events on the canvas. Set to true to allow
* touch scrolling on the canvas element on touch-enabled devices
* i.e. { isTouchScrollEnabled: true }
*/
setupRiveListeners(riveListenerOptions?: SetupRiveListenersOptions): void;
/**
* Remove Rive Listeners setup on the canvas
*/
removeRiveListeners(): void;
private initData;

@@ -309,0 +329,0 @@ private initArtboard;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc