Optional
__staticOptional
autoOptional
axisDefines the scrolling axis for the scrollbar.
'x'
for horizontal scrolling.'y'
for vertical scrolling.Optional
classCustom CSS class to be applied to the scrollbar track.
If false
, no additional class is applied.
Optional
containerThe element to which the scrollbar is applied.
Can be either the window
or a specific HTML element.
Optional
draggableDetermines whether the scrollbar thumb is draggable.
Optional
parentThe parent element where the scrollbar should be appended.
If false
, the scrollbar is appended directly to the container
.
For proper behavior, use parent
when applying the scrollbar to an HTML element.
Optional
resizeDebounce time (in milliseconds) for handling resize events. Helps improve performance by limiting the frequency of resize calculations.
Automatically hides the scrollbar when inactive.