Skip to main content

Provide Config

Refer to BlazeConfig to learn about the structure of BlazeConfig, all the different properties that can be configured and how the configuration cascading works

Example

new BlazeSlider(el, {
all: {
enableAutoplay: true,
autoplayInterval: 2000,
transitionDuration: 300,
slidesToShow: 3,
},
'(max-width: 900px)': {
slidesToShow: 2,
},
'(max-width: 500px)': {
slidesToShow: 1,
},
})
1
2
3
4
5
6
7
8