This package has been deprecated

Author message:

WARNING: This project has been renamed to carousel-js. Install using carousel-js instead.

carousel-module

1.1.2 • Public • Published

Build Status

Carousel

A lightweight and flexible Carousel class that allows you to build fully functional, advanced Carousels with minimal javascript and markup. This library is built using native vanilla javascript. Which means super fast performance. Supports IE10+, all major browsers and even mobile.

Usage

Create a carousel based off of a set of predetermined markup. Assuming, you have your html in the DOM and CSS set up correctly. You can do:

var carousel = new Carousel({
    panels: document.getElementsByClassName('carousel-panel'),
    thumbnails: document.getElementsByClassName('carousel-thumbnail')
});
 
carousel.goTo(1); // go to second carousel item

More details and example can be found here.

Readme

Keywords

none

Package Sidebar

Install

npm i carousel-module

Weekly Downloads

30

Version

1.1.2

License

none

Last publish

Collaborators

  • test