Returns the bounding rect of the track.
OptionalhandleThe minimum distance between the track bounds and the handle bounds along the orientation direction.
OptionalisIf true, drag listeners are disabled.
OptionalonA handler that is called while the user is actively dragging the element.
OptionalonA handler that is called when the drag state changes.
true if the element is being dragged.
OptionalonA handler that is called when the user stops dragging the element.
OptionalonA handler that is called when the user starts dragging the element.
OptionalonA callback invoked when the handle is dragged along the track.
The percentage position along the track.
OptionalorientationThe orientation of the track along which the handle is dragged.
Props for the useTrackHandle hook.