New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

three-render-objects

Package Overview
Dependencies
Maintainers
0
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

three-render-objects - npm Package Compare versions

Comparing version 1.33.2 to 1.34.0

4

dist/three-render-objects.d.ts

@@ -70,4 +70,4 @@ import { WebGLRendererParameters, Renderer, Object3D, Light, WebGLRenderer, Scene, Camera, Intersection } from 'three';

lineHoverPrecision(precision: number): ChainableInstance;
tooltipContent(): Obj3DAccessor<string>;
tooltipContent(contentAccessor: Obj3DAccessor<string>): ChainableInstance;
tooltipContent(): Obj3DAccessor<string | HTMLElement>;
tooltipContent(contentAccessor: Obj3DAccessor<string | HTMLElement>): ChainableInstance;
enablePointerInteraction(): boolean;

@@ -74,0 +74,0 @@ enablePointerInteraction(enable: boolean): ChainableInstance;

{
"name": "three-render-objects",
"version": "1.33.2",
"version": "1.34.0",
"description": "Easy way to render ThreeJS objects with built-in interaction defaults",

@@ -50,3 +50,3 @@ "license": "MIT",

"accessor-fn": "1",
"float-tooltip": "1",
"float-tooltip": "^1.5",
"kapsule": "^1.16",

@@ -53,0 +53,0 @@ "polished": "4"

@@ -89,3 +89,3 @@ three-render-objects

| <b>lineHoverPrecision</b>([<i>int</i>]) | Getter/setter for the precision to use when detecting hover events over [Line](https://threejs.org/docs/#api/objects/Line) objects. | 1 |
| <b>tooltipContent</b>([<i>str</i> or <i>fn</i>]) | Object accessor function or attribute for label (shown in tooltip). Supports plain text or HTML content. ||
| <b>tooltipContent</b>([<i>str</i> or <i>fn</i>]) | Object accessor function or attribute for label (shown in tooltip). Supports plain text, HTML string content or an [HTML element](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement). ||
| <b>enablePointerInteraction([<i>boolean</i>]) | Getter/setter for whether to enable the mouse tracking events. This activates an internal tracker of the canvas mouse position and enables the functionality of object hover/click and tooltip labels, at the cost of performance. If you're looking for maximum gain in your render performance it's recommended to switch off this property. | `true` |

@@ -92,0 +92,0 @@ | <b>hoverDuringDrag([<i>boolean</i>]) | Getter/setter for whether to trigger hover events while using the controls via pointer dragging.| `false` |

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 too big to display

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