embla-carousel
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -453,5 +453,5 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
var focus = function focus() { | ||
sliderRoot.scrollLeft = 0; | ||
var groupIndex = Math.floor(index / options.groupSlides); | ||
var selectedGroup = index ? groupIndex : index; | ||
sliderRoot.scrollLeft = 0; | ||
goTo(selectedGroup); | ||
@@ -458,0 +458,0 @@ }; |
{ | ||
"name": "embla-carousel", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"author": "David Cetinkaya", | ||
@@ -5,0 +5,0 @@ "private": false, |
@@ -1,7 +0,11 @@ | ||
# Embla Carousel · ![GitHub](https://img.shields.io/github/license/davidcetinkaya/embla-carousel.svg?color=blue) ![npm](https://img.shields.io/npm/v/embla-carousel.svg) ![Travis (.org) branch](https://img.shields.io/travis/davidcetinkaya/embla-carousel/master.svg) ![prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat) | ||
# Embla Carousel · [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Build%20amazing%20JavaScript%20carousels%20with%20Embla%20Carousel&url=https://davidcetinkaya.github.io/embla-carousel&via=david_cetinkaya&hashtags=frontend,javascript,webdeveloper,developers,coders) | ||
![GitHub](https://img.shields.io/github/license/davidcetinkaya/embla-carousel.svg?color=blue) ![npm](https://img.shields.io/npm/v/embla-carousel.svg) ![Travis (.org) branch](https://img.shields.io/travis/davidcetinkaya/embla-carousel/master.svg) ![prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat) | ||
> An extensible low level carousel for the web, written in TypeScript. | ||
Embla's purpose is to provide a low level carousel and allow developers to extend it by using its available methods. It doesn’t come with many options - just a few useful methods. Extend it with some very basic JavaScript and build awesome things! It's is 100% open source and free to use on both personal and commercial projects. | ||
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-based carousels. It's dependency free and 100% open source. | ||
## Table of contents | ||
- [Demo](#demo) | ||
@@ -16,3 +20,3 @@ - [Installation](#installation) | ||
See the [demo page](https://davidcetinkaya.github.io/embla-carousel). | ||
See the [demo page](https://davidcetinkaya.github.io/embla-carousel) or try Embla Carousel on [CodeSandbox](https://codesandbox.io/s/embla-carousel-loop-false-oyols). | ||
@@ -19,0 +23,0 @@ ## Installation |
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
65391
202