Blaze Slider
API

enableAutoplay

Enable automatic slide advancement

Whether the slider automatically advances slides.

enableAutoplay: boolean; // default: false

Example: Autoplay enabled

new BlazeSlider(el, {
  all: {
    enableAutoplay: true,
    stopAutoplayOnInteraction: false,
    autoplayInterval: 1500,
    slidesToShow: 3,
  },
});
1
2
3
4
5
6

stopAutoplayOnInteraction is disabled in this example to keep autoplay running after interaction.

Example: Autoplay disabled (default)

new BlazeSlider(el, {
  all: {
    enableAutoplay: false,
    slidesToShow: 3,
  },
});
1
2
3
4
5
6

On this page