mouse-event-offset
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"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` |
3892