API
transitionDuration
Animation duration for slide transitions
Duration in milliseconds for the slide transition animation.
transitionDuration: number; // default: 500Example: 300ms
new BlazeSlider(el, {
all: {
enableAutoplay: true,
transitionDuration: 300,
autoplayInterval: 2000,
slidesToShow: 3,
},
});Example: 800ms (slower)
new BlazeSlider(el, {
all: {
enableAutoplay: true,
transitionDuration: 800,
autoplayInterval: 2000,
slidesToShow: 3,
},
});Example: 200ms (faster)
new BlazeSlider(el, {
all: {
enableAutoplay: true,
transitionDuration: 200,
autoplayInterval: 2000,
slidesToShow: 3,
},
});