Skip to content

Releases: davidjerleke/embla-carousel

v2.3.0

16 Jul 14:06
Compare
Choose a tag to compare

🌟 New features

The scroll event has been added as a new feature.

embla.on('scroll', () => console.log('Carousel is scrolling'))

v2.2.0

11 Jul 11:42
Compare
Choose a tag to compare
2.2.0

v2.1.14 - canScrollNext & canScrollPrev bug

10 Jul 22:26
Compare
Choose a tag to compare

🛠️ Bug fixes

The API methods canScrollNext() and canScrollPrev() always returned false when loop: true. This solves the issue and always returns true for both these methods when loop: true.

Issue #15.

v2.1.13 - Added API Demos

09 Jul 22:31
Compare
Choose a tag to compare

👉 Changes

Added API demo links to CodeSandbox examples.

v2.1.0 - New containScroll option

05 Jul 23:15
Compare
Choose a tag to compare

🌟 New features

containScroll is now a feature. It contains slides to the carousel viewport to prevent excessive scrolling at the beginning or the end.

v2.0.3 - Webpack 4 UMD window issue

04 Jul 06:53
Compare
Choose a tag to compare

🛠️ Bugfixes

This release solves the Webpack 4 UMD module window issue.

v2.0.0 - More consistent API naming, link slides

24 Jun 21:41
Compare
Choose a tag to compare

🌟 New features

Improved drag accuracy:

  • Pointer actions have been redesigned to have a higher accuracy and feel more natural.

Improved link handling:

  • Links can now be used as slides.
  • Links can now be used inside slides.
  • Embla can differentiate between a click and drag interaction.

API methods added:

  • scrollSnapList()

⚠️ Breaking changes

API method name changes:

  • next() --> scrollNext()
  • previous() --> scrollPrev()
  • goTo() --> scrollTo()
  • selectedIndex --> selectedScrollSnap()
  • previousIndex --> previousScrollSnap()

API removed methods:

  • groupedIndexes()

v1.0.0 - Redesigned API

19 Jun 18:48
Compare
Choose a tag to compare

⚠️ Breaking changes

Options name changes:

  • groupSlides --> slidesToScroll

API method name changes:

  • hasPreviousIndex() --> canScrollPrevious()
  • hasNextIndex() --> canScrollNext()

API removed methods:

  • isLastIndex()
  • isFirstIndex()

v0.9.4 - Fallback for loop options if only 1 slide

19 Jun 14:54
Compare
Choose a tag to compare

🛠 Bugfixes

When loop: true and the carousel container only contains a single slide, it will fallback to loop: false. Discussed in issue #12.

v0.9.0 - New API index methods

16 Jun 13:53
Compare
Choose a tag to compare

🌟 New features

Added following methods to the API:

  • isFirstIndex()
  • isLastIndex()
  • hasPreviousIndex()
  • hasNextIndex()