const slider = new SimpleSlider('.selector', {
onChange: function() {
const activeIndex = slider.updateIndex(slider.index);
const activeSlide = slider.slides[activeIndex];
console.log('Active Slide: ', activeSlide);
}
});