This carousel is initialized via Javascript and has dot navigation, arrow keys and is an infinite carousel. 😎
It has a callback function that updates the current index.
Current Index: 0This carousel is initialized via data-carousel attribute and has dots and autoplay turned on.
Setting a width on the carousel is ideal.
Changing slide index when autoplay is on disables autoplay function.
You can use custom events to know when a carousel is: initialized, next / prev function, slide and/or animation of slide is complete.