Returns a bounding rect of a track.
Optional
handleMinimum distance between track bounds and handle bounds in the orientation direction.
Optional
isIf true
drag listeners are disabled.
Optional
onA handler that is called when a user is actively dragging an element.
Optional
onA handler that is called when the drag state changes.
true
if an element is dragged.
Optional
onA handler that is called when a user stops dragging an element.
Optional
onA handler that is called when a user starts to drag an element.
Optional
onA handler that is called when the handle is dragged along the track.
A percentage at which a track is positioned.
Optional
orientationThe orientations of a track along which a handle is dragged.
Props of the useTrackHandle hook.