1.5.0 ā€¢ Published 10 months ago

ctc-carousel-js v1.5.0

Weekly downloads
4
License
MIT
Repository
github
Last release
10 months ago

Javascript library to create image carousel.

Usage

Library lets you create image carousel for one or multiple image gallery

Install

npm i ctc-carousel-js

Script Tag

Dowload and include following file:

carousel.js 

Options

new ctcCarousel('selector1,selector2',{autoPlay: true, autoPlayInterval: number, autoPlaySelector: 'selector'},{callBack:function} );

First Parameter : one or multiple selector to apply carousel.

Second Parameter :

autoPlay : boolean, (Optional, set true to activate slide autoplay)
autoPlayInterval : number, (Optional,number for slide autoplay interval in micro seconds default 1000) )
autoPlaySelector : 'selectors', (one or more element to set on autoplay (default all carousels will autoplay)

Third Parameter
callBack : function, (Function to be called when after setting up carousel)  

Note 1 : Initialize carousel inside script tag on window onload or footer. (Selector should be wrapper element containing images)
Note 2 : Do not forget to set height and width of wrapper element.

Contributing

Contributions, issues and feature requests are welcome. Feel free to check issues page if you want to contribute.

Author

šŸ‘¤ ujw0l

Show your support

Please ā­ļø this repository if you like it.

License

Copyright Ā© 2019 ujw0l.

šŸ“œ This project is MIT licensed.


This README was generated with ā¤ļø by readme-md-generator

1.5.0

10 months ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago