Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

embla-carousel

Package Overview
Dependencies
Maintainers
1
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

embla-carousel - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

package.json
{
"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)`**

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc