wheel gestures and momentum detection in the browser
🚧 IN DEVELOPMENT
still testing and doing heaps of breaking changes, don't use yet please :)
you bring the wheel events, wheelAnalyzer returns wheel gestures & momentum information
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: