Blaze Slider
API

transitionDuration

Animation duration for slide transitions

Duration in milliseconds for the slide transition animation.

transitionDuration: number; // default: 500

Example: 300ms

new BlazeSlider(el, {
  all: {
    enableAutoplay: true,
    transitionDuration: 300,
    autoplayInterval: 2000,
    slidesToShow: 3,
  },
});
1
2
3
4
5
6

Example: 800ms (slower)

new BlazeSlider(el, {
  all: {
    enableAutoplay: true,
    transitionDuration: 800,
    autoplayInterval: 2000,
    slidesToShow: 3,
  },
});
1
2
3
4
5
6

Example: 200ms (faster)

new BlazeSlider(el, {
  all: {
    enableAutoplay: true,
    transitionDuration: 200,
    autoplayInterval: 2000,
    slidesToShow: 3,
  },
});
1
2
3
4
5
6

On this page