Demos
slidesToShow
new BlazeSlider(el, {
all: {
slidesToShow: 3,
},
})
new BlazeSlider(el, {
all: {
slidesToShow: 1,
},
})
slidesToScroll
new BlazeSlider(el, {
all: {
slidesToShow: 3,
slidesToScroll: 3,
},
})
new BlazeSlider(el, {
all: {
slidesToShow: 3,
slidesToScroll: 1,
},
})
slideGap
new BlazeSlider(el, {
all: {
slidesToShow: 3,
slideGap: '10px',
},
})
new BlazeSlider(el, {
all: {
slidesToShow: 3,
slideGap: '50px',
},
})
loop
new BlazeSlider(el, {
all: {
slidesToShow: 3,
loop: false,
},
})
new BlazeSlider(el, {
all: {
slidesToShow: 3,
loop: true,
},
})
transitionDuration
new BlazeSlider(el, {
all: {
transitionDuration: 200,
slidesToShow: 3,
},
})
new BlazeSlider(el, {
all: {
transitionDuration: 400,
slidesToShow: 3,
},
})
transitionTimingFunction
new BlazeSlider(el, {
all: {
transitionTimingFunction: 'ease',
slidesToShow: 3,
},
})
new BlazeSlider(el, {
all: {
transitionTimingFunction: 'linear',
slidesToShow: 3,
},
})
enableAutoplay
new BlazeSlider(el, {
all: {
slidesToShow: 3,
enableAutoplay: true,
},
})
new BlazeSlider(el, {
all: {
enableAutoplay: false,
slidesToShow: 1,
},
})
autoplayDirection
new BlazeSlider(el, {
all: {
slidesToShow: 3,
enableAutoplay: true,
autoplayDirection: 'to left',
},
})
new BlazeSlider(el, {
all: {
enableAutoplay: true,
slidesToShow: 1,
autoplayDirection: 'to right',
},
})
stopAutoplayOnInteraction
new BlazeSlider(el, {
all: {
slidesToShow: 3,
enableAutoplay: true,
stopAutoplayOnInteraction: true,
},
})
new BlazeSlider(el, {
all: {
enableAutoplay: true,
slidesToShow: 1,
stopAutoplayOnInteraction: false,
},
})
draggable
new BlazeSlider(el, {
all: {
draggable: true,
slidesToShow: 3,
},
})
new BlazeSlider(el, {
all: {
draggable: false,
slidesToShow: 3,
},
})