Releases: fylgja/snap-slider
Releases · fylgja/snap-slider
v2.2.1
v2.2.0
Added
- Added a
loopoption (anddata-loopattribute). When enabled, navigation buttons never disable and the slider wraps from the last slide back to the first and vice versa. Available as a modifier in the AlpineJS integration (x-snap-slider.loop).
Fixed
- Fixed an edge case where an empty slider with
group-pagerenabled would throw an error.
Full Changelog: 2.1.0...2.2.0
v2.0.0
Added
- Added an AlpineJS version of the Snap Slider.
Changed
- Refactored the core logic into a reusable
SnapSliderclass.
This class is now used by both the Custom Element and AlpineJS versions,
and can also be used as a standalone option.
Full Changelog: 1.0.0...2.0.0