Optional__mutableOptionalcenteredOptionalcontainerContainer size. Supported values:
auto detects slide size depending on the container size.number defines the slide size in pixels.px, rem, vw, vh, svh.OptionaldirectionSliding direction
OptionaldurationChange slide duration
OptionaleasingEasing type for timelines
OptionaledgeMaximum friction between the final slide and the maximum translation value. From 0 to 1. The higher value the more resistance is applied.
OptionalfollowIf disabled, then slider will be animated only when you release the finger, it will not move while you hold your finger on it.
OptionalfollowIf false, disables smooth, continuous scrolling behavior from the mouse wheel
and instead updates the snap position in discrete steps (like pagination).
OptionalfreemodeEnables freemode, with or without sticky magnets.
OptionalfrictionFriction 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
OptionalgapThe gap between slides. Supports css units like px, rem, vw, vh, svh.
OptionalgrabUser will see the "grab" cursor when hovering and "grabbing" when swiping
OptionalintervalInterval between automatic slide changes in milliseconds. If null, the interval is disabled.
OptionalintervalDirection of automatic slide changes. Can be either 'next' or 'prev'.
OptionallerpLinear interpolation factor for smooth coordinates updates.
OptionalloopDetects if need to loop the progress
OptionaloriginSlide magnet origin
OptionalrewindEnables wrap-around navigation: advancing from the last slide jumps to the first,
and going back from the first jumps to the last. Has no effect when loop mode is enabled.
OptionalshortWhen true, swipes shorter than shortSwipeDuration can trigger slide change.
Short swipes work only when followSwipe is true.
OptionalshortShort swipe maximum duration
OptionalshortMinimum distance in pixels to trigger slide change for short swipes
OptionalslidesSlides instances. If false, all container's children will be considered as slides.
OptionalslideSlide size. Supported values:
auto detects slide size depending on the element or container size.stretch detects slide size as the container size.number defines the slide size in pixels.px, rem, vw, vh, svh.OptionalslidesIndicates the number of slides to scroll on swipe or wheel.
OptionalstickSnap to the nearest slide on carousel resize
OptionalstickEnable snapping on wheel stop. Works with followWheel enabled.
OptionalstickSnapping threshold for stickOnWheelEnd
OptionalswipeEnable or disable swipe events
OptionalswipeSwipe axis
OptionalswipeDefines if friction is allowed when swiping. Doesn't work with short swipes or when when followSwipe is false
OptionalswipeOptionalswipeInertia strength.
OptionalswipeMinimum time in milliseconds to trigger swipe move.
OptionalswipeSpeed factor for swipe movements.
OptionalswipeLength in pixels that must be swiped to trigger swipe start.
OptionalwheelEnable or disable mouse wheel events for progress control
OptionalwheelWheel axis
OptionalwheelSpeed factor for mouse wheel movements
OptionalwheelThrottle wheel events, value in milliseconds.
Works only if followWheel is disabled.
auto - automatic detection when wheel is enabled
Mutable properties for the Snap component