Optional
__fixOptional
animationOptional AnimationFrame
instance to control scrolling animation externally.
false
Optional
containerSelector or HTMLElement for the scrollable container.
'#v-custom-scroll'
Optional
elementsDefines the scrollable elements inside the wrapper. Can be a selector, a list of elements, or a single element.
If set to false
, no specific elements are defined.
false
Optional
hasIf true
, the will-change
CSS property will be applied to the scrollable elements to improve performance.
true
Optional
resizeTimeout value for the resize event, useful for debouncing resize calculations.
0
Optional
translateSets precision for the transform
property by limiting the number of decimal places.
Helps prevent choppy scrolling caused by large decimal values in transforms.
Set to false
to disable precision rounding.
2
Optional
viewportTarget for the viewport resize event.
'any'
Static properties for a component. These properties remain constant throughout the lifecycle of the component. This interface extends IStaticProps, inheriting the static properties defined for modules.