Releases: davidjerleke/embla-carousel
v2.1.13 - Added API Demos
👉 Changes
Added API demo links to CodeSandbox examples.
v2.1.0 - New containScroll option
🌟 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
🛠️ Bugfixes
This release solves the Webpack 4 UMD module window issue.
v2.0.0 - More consistent API naming, link slides
🌟 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
⚠️ 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
🛠 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
🌟 New features
Added following methods to the API:
isFirstIndex()isLastIndex()hasPreviousIndex()hasNextIndex()
v0.8.0 - Improved dragFree feature
👉 Changes
dragFree feature has been improved and changed to mimic -webkit-overflow-scrolling: touch; behavior.
v0.7.2 - Lowered drag threshold
👉 Changes
Drag threshold has been lowered. Less drag force is now required for a slide change to occur.
v0.7.0 - Added API methods and renamed some
🌟 New features
previousIndex()has been added.groupedIndexes()has been added.
⚠️ Breaking changes
getContainer()has changed tocontainerNode().getSlides()has changed toslideNodes().