Optional
__fixOptional
directionDefines the main scrolling direction. Can be either horizontal or vertical.
'vertical'
Optional
hasIf true
, stops propagation of the scroll event to parent elements.
true
Optional
hasIf true
, enables scrolling via mouse wheel.
true
Optional
isIf true
, scrolling is enabled.
true
Optional
isNormalizes the scroll speed across different screens by accounting for varying FPS rates.
true
Optional
isInverts the scroll direction. Useful for reversed scrolling behaviors.
false
Optional
lerpLinear interpolation factor for smooth scrolling. Scroll elements can override this value using the customScrollLerp
property or the "data-custom-scroll-lerp" attribute.
0.1
Optional
lerpApproximation factor for interpolation, used to prevent animation from getting too slow at very small differences between current and target values.
0.1
Optional
shouldAutomatically stops the animation frame when the target and current scroll values are equal. Improves performance by preventing unnecessary renders.
true
Optional
wheelDefines the scroll speed multiplier for the mouse wheel.
1
Changeable properties for a component. These properties may change during the component's lifecycle, such as in response to window resizing or user actions. This interface extends IChangeableProps, inheriting the mutable properties defined for modules.