Skip to content

useScrollDevice

Real-time 8-directional scroll detection (cardinal & diagonal) with hardware gesture recognition (touchpad 2D swipe, mouse wheel, touch, keyboard).

5.8 KB
•
Updated on September 3, 2026

Installation

Bash

Usage

Code

API Reference

Parameters / Props

Return Value