A reference to a scrollable container element.
OptionaldeactivateA delay after which scrollbar is deactivated.
Returns a bounding rect of a track.
OptionalhandleMinimum distance between a scrollbar track bounds and a scrollbar handle in the direction of a scrollbar orientation.
OptionalonA handler that is called when a container is being scrolled.
An info about the current state of a scrollbar. The info object is reused between handler invocations.
OptionalorientationThe orientations of a scrollbar track along which a scrollbar handle can be dragged.
Props of the useScrollbar hook.