It has a callback function that updates the current index.Current Index: 0
This carouselis 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.