EnableAutoHover
The parameter adds background to products in slider.
enableAutoHover: boolean | 'all'EnableAutoHover: true
hover effect automatic 2 sec per slide
ProductSlider({
apiKey: 'SNGbv8bSovxeDDDAXMS4Qm-ncTd8LOfORRVe0pdPkTk6o-jbu9',
backgroundURL: 'https://your-domain.com/url-address-of-the-image.jpg',
sliderType: 1,
sliderPerView: {
1200: 5,
992: 3,
768: 2,
320: 1.5
},
enablePreview: true,
enableAutoHover: true,
rootID: 'printlean'
});
EnableAutoHover: false
disable hover effect automatic 2 sec per slide
ProductSlider({
apiKey: 'SNGbv8bSovxeDDDAXMS4Qm-ncTd8LOfORRVe0pdPkTk6o-jbu9',
backgroundURL: 'https://your-domain.com/url-address-of-the-image.jpg',
sliderType: 1,
sliderPerView: {
1200: 5,
992: 3,
768: 2,
320: 1.5
},
enablePreview: true,
enableAutoHover: false,
rootID: 'printlean'
});
EnableAutoHover: 'all'
hover all product
ProductSlider({
apiKey: 'SNGbv8bSovxeDDDAXMS4Qm-ncTd8LOfORRVe0pdPkTk6o-jbu9',
backgroundURL: 'https://your-domain.com/url-address-of-the-image.jpg',
sliderType: 1,
sliderPerView: {
1200: 5,
992: 3,
768: 2,
320: 1.5
},
enablePreview: true,
enableAutoHover: 'all',
rootID: 'printlean'
});
Last updated