embla-carousel
Advanced tools
Comparing version 1.0.8 to 1.0.9
{ | ||
"name": "embla-carousel", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"author": "David Cetinkaya", | ||
@@ -5,0 +5,0 @@ "private": false, |
@@ -27,2 +27,3 @@ <br /> | ||
- [What's Embla?](#whats-embla) | ||
- [Implementations](#implementations) | ||
- [Features](#features) | ||
@@ -34,3 +35,2 @@ - [Installation](#installation) | ||
- [Browser Support](#browser-support) | ||
- [Implementations](#implementations) | ||
- [Contribution](#contribution) | ||
@@ -41,6 +41,10 @@ - [License](#license) | ||
Embla’s purpose is to provide a low level carousel and allow developers to extend it by using its available methods. Extend it with some very basic JavaScript and build awesome physics simulated carousels. It’s dependency free and 100% open source. | ||
Embla’s purpose is to provide a low level carousel and allow developers to extend it by using its available methods. Extend it with some basic JavaScript and build awesome physics simulated carousels. It’s dependency free and 100% open source. | ||
> Try it here on the [Demo Page](https://davidcetinkaya.github.io/embla-carousel) or [CodeSandbox](https://codesandbox.io/s/embla-carousel-loop-false-oyols) ✨. | ||
> Try it on the [Demo Page](https://davidcetinkaya.github.io/embla-carousel) or [CodeSandbox](https://codesandbox.io/s/embla-carousel-loop-false-oyols) ✨. | ||
## Implementations | ||
[<img src="https://rawgit.com/davidcetinkaya/embla-carousel/master/docs/assets/javascript-logo.svg" height="60" alt="Embla Carousel JavaScript" />](https://github.com/davidcetinkaya/embla-carousel) [<img src="https://rawgit.com/davidcetinkaya/embla-carousel/master/docs/assets/react-logo.svg" height="60" alt="Embla Carousel React" />](https://github.com/davidcetinkaya/embla-carousel-react) | ||
## Features | ||
@@ -184,3 +188,5 @@ | ||
embla.changeOptions({ loop: true }) | ||
embla.on('select', () => console.log('Selected a new index!')) | ||
embla.on('select', () => { | ||
console.log(`Selected index is now ${embla.selectedIndex()}!`) | ||
}) | ||
``` | ||
@@ -251,6 +257,2 @@ | ||
## Implementations | ||
[<img src="https://rawgit.com/davidcetinkaya/embla-carousel/master/docs/assets/javascript-logo.svg" height="60" alt="Embla Carousel JavaScript" />](https://github.com/davidcetinkaya/embla-carousel) [<img src="https://rawgit.com/davidcetinkaya/embla-carousel/master/docs/assets/react-logo.svg" height="60" alt="Embla Carousel React" />](https://github.com/davidcetinkaya/embla-carousel-react) | ||
## Contribution | ||
@@ -257,0 +259,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69194
266