Socket
Socket
Sign inDemoInstall

mouse-event-offset

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "mouse-event-offset",
"version": "1.0.1",
"version": "1.0.2",
"description": "get relative position from an event",

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

@@ -24,3 +24,3 @@ # mouse-event-offset

- `rect` is a pre-computed bounding client rect (e.g. to avoid reflows), defaults to use the target's `getBoundingClientRect()`
- `clientRect` is a pre-computed bounding client rect (e.g. to avoid reflows), defaults to use the target's `getBoundingClientRect()`
- `clientX` is the client x position, defaults to `event.clientX`

@@ -27,0 +27,0 @@ - `clientY` is the client y position, defaults to `event.clientY`

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc