Skip to content

Releases: fylgja/snap-slider

v2.2.1

16 Apr 10:56
419b95b

Choose a tag to compare

Fixed

  • Fixed loop navigation getting stuck when the track contains invalid elements (such as <template> or <script> tags). Navigation now uses the filtered slides list instead of raw DOM siblings.

Full Changelog: 2.2.0...2.2.1

v2.2.0

11 Apr 17:47

Choose a tag to compare

Added

  • Added a loop option (and data-loop attribute). 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-pager enabled would throw an error.

Full Changelog: 2.1.0...2.2.0

v2.0.0

23 Sep 09:56
e3e5a9b

Choose a tag to compare

Added

  • Added an AlpineJS version of the Snap Slider.

Changed

  • Refactored the core logic into a reusable SnapSlider class.
    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

v1.0.0

08 Apr 12:46

Choose a tag to compare

Initial release 🎉