API
transitionTimingFunction
Easing function for slide transitions
CSS transition-timing-function for slide animations.
transitionTimingFunction: string; // default: 'ease'Example: ease (default)
new BlazeSlider(el, {
all: {
enableAutoplay: true,
transitionTimingFunction: 'ease',
slidesToShow: 3,
},
});Example: linear
new BlazeSlider(el, {
all: {
enableAutoplay: true,
transitionTimingFunction: 'linear',
slidesToShow: 3,
},
});Example: Custom cubic-bezier
new BlazeSlider(el, {
all: {
enableAutoplay: true,
transitionTimingFunction: 'cubic-bezier(.18,.74,.2,1.27)',
slidesToShow: 3,
},
});This curve creates a slight bounce effect at the end of each transition.