wheel-gestures
TypeScript icon, indicating that this package has built-in type declarations

2.2.5 • Public • Published

wheel gestures

wheel gestures and momentum detection in the browser

npm (tag) only about 2kb minified and gzipped


OS & Browsers

  • Mac OS (Chrome, Firefox, Safari, Edge), Magic Mouse, Magic Trackpad
  • Windows (Chrome, Firefox, Edge), Microsoft Precision Touchpads
  • Linux (to be tested)

Prior Art

Other people also thought that it might be helpful for some interactions to be able to distinguish between user initiated wheel events and the ones that are triggered by inertia scroll, but none of the other known libraries delivered results in the precision I needed, so I developed my own solution. Honourable mentions:

Package Sidebar

Install

npm i wheel-gestures

Weekly Downloads

17,089

Version

2.2.5

License

MIT

Unpacked Size

357 kB

Total Files

77

Last publish

Collaborators

  • xiel