Optional
__mutableOptional
centeredCentered slides
Optional
directionSliding direction
Optional
durationChange slide duration
Optional
easingEasing type for timelines
Optional
edgeMaximum friction between the final slide and the maximum translation value. From 0 to 1. The higher value the more resistance is applied.
Optional
followIf disabled, then slider will be animated only when you release the finger, it will not move while you hold your finger on it.
Optional
followIf disabled, then slider will be animated only when you stop scrolling the wheel.
Optional
freemodeDisables friction
and snapping to the nearest slide.
Optional
frictionFriction that makes the slides tend to the nearest slide magnet. The value is a number between 0 and 1
which is multiplied by the lerp
value.
0 disables friction
Optional
gapThe gap between slides. Supports css units like px
, rem
, vw
, vh
, svh
.
Optional
grabUser will see the "grab" cursor when hovering and "grabbing" when swiping
Optional
lerpLinear interpolation factor for smooth coordinates updates.
Optional
loopDetects if need to loop the progress
Optional
shortWhen true
, swipes shorter than shortSwipeDuration
can trigger slide change.
Short swipes work only when followSwipe
is true
.
Optional
shortShort swipe maximum duration
Optional
shortMinimum distance in pixels to trigger slide change for short swipes
Optional
slidesSlides instances. If false
, all container's children will be considered as slides.
Optional
stickStick to the nearest slide on window resize
Optional
swipeEnable or disable swipe events
Optional
swipeSwipe axis
Optional
swipeDefines if friction
is allowed when swiping. Doesn't work with short swipes or when when followSwipe
is false
Optional
swipeLinear interpolation factor for smooth progress updates during swipe move. false
means that the main lerp
option will be used
Optional
swipeMinimum time in milliseconds to trigger swipe move.
Optional
swipeSpeed factor for swipe movements
Optional
swipeLength in pixels that must be swiped to trigger swipe start.
Optional
wheelEnable or disable mouse wheel events for progress control
Optional
wheelWheel axis
Optional
wheelSpeed factor for mouse wheel movements
Mutable properties for the Snap component