embla-carousel
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "embla-carousel", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"author": "David Cetinkaya", | ||
@@ -5,0 +5,0 @@ "private": false, |
@@ -133,2 +133,5 @@ # 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) | ||
**`selectedIndex()`** | ||
Gets the current selected slide index. First slide starts at index 0. | ||
**`next()`** | ||
@@ -152,7 +155,7 @@ Goes to next item. If loop is disabled and the carousel is on the last slide this method will do nothing. | ||
- **init** - Triggers after the carousel has been initialized for the first time. | ||
- **destroy** - Triggers after the carousel has been destroyed. | ||
- **select** - Triggers when a new target slide has been selected. | ||
- **dragStart** - Triggers when carousel dragging begins. | ||
- **dragEnd** - Triggers when carousel dragging ends. | ||
- **`init`** - Triggers after the carousel has been initialized for the first time. | ||
- **`destroy`** - Triggers after the carousel has been destroyed. | ||
- **`select`** - Triggers when a new target slide has been selected. | ||
- **`dragStart`** - Triggers when carousel dragging begins. | ||
- **`dragEnd`** - Triggers when carousel dragging ends. | ||
@@ -159,0 +162,0 @@ **`off(event: string, callback: function)`** |
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
64997
166