carousel-slider-js

1.0.2 • Public • Published

CarouselJS

CarouselJS is a simple way to add a slider.

How to use

Adding the script.

<script src="https://cdn.jsdelivr.net/npm/carousel-slider-js/dist/carousel-js.min.js" ></script>

Or install

npm i --save carousel-js

and using with browserify

Using

carousel(carouselImageElement, prevNavElement, nextNavElement, images, delay);

Parameters

carouselImageElement : The img element.

prevNavElement : The element with the control prev img.

prevNavElement : The element with the control next img.

images : An array with the images.

delay : the time in milliseconds to delay the change.

Readme

Keywords

Package Sidebar

Install

npm i carousel-slider-js

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

7.33 kB

Total Files

6

Last publish

Collaborators

  • ryuunofire