Skip to content

Commit

Permalink
lastVelocity doc
Browse files Browse the repository at this point in the history
  • Loading branch information
clementroche committed May 30, 2024
1 parent ac7fa7f commit caa32e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ See documentation for [lenis/react](https://github.com/darkroomengineering/lenis
| `targetScroll` | `number` | Target scroll value |
| `time` | `number` | Time elapsed since instance creation |
| `actualScroll` | `number` | Current scroll value registered by the browser |
| `lastVelocity` | `number` | last scroll velocity |
| `velocity` | `number` | Current scroll velocity |
| `isHorizontal` (getter) | `boolean` | Whether or not the instance is horizontal |
| `isScrolling` (getter) | `boolean, string` | Whether or not the scroll is being animated, `smooth`, `native` or `false` |
Expand Down

0 comments on commit caa32e4

Please sign in to comment.