API
enableAutoplay
Enable automatic slide advancement
Whether the slider automatically advances slides.
enableAutoplay: boolean; // default: falseExample: Autoplay enabled
new BlazeSlider(el, {
all: {
enableAutoplay: true,
stopAutoplayOnInteraction: false,
autoplayInterval: 1500,
slidesToShow: 3,
},
});stopAutoplayOnInteraction is disabled in this example to keep autoplay
running after interaction.
Example: Autoplay disabled (default)
new BlazeSlider(el, {
all: {
enableAutoplay: false,
slidesToShow: 3,
},
});