We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff4043f commit c1b0604Copy full SHA for c1b0604
README.md
@@ -51,8 +51,8 @@ All Event Handlers are called with the below event data.
51
```
52
{
53
event, // source event
54
- deltaX, // x offset (current.x - initial.x)
55
- deltaY, // y offset (current.y - initial.y)
+ deltaX, // x offset (initial.x - current.x)
+ deltaY, // y offset (initial.y - current.y)
56
absX, // absolute deltaX
57
absY, // absolute deltaY
58
velocity, // √(absX^2 + absY^2) / time
0 commit comments