1// https://github.com/ganlanyuan/tiny-slider#responsive-options 2window.addEventListener('load', function () { 3 const slider = tns({ 4 container: '.carrousel-combo', 5 autoplayButton: ".combo-carrousel-play-button", 6 slideBy: "page", 7 mouseDrag: true, 8 swipeAngle: false, 9 speed: 400, 10 navPosition: "bottom", 11 controlsPosition: "bottom", 12 responsive: { 13 0: { 14 items: 2 15 }, 16 576: { 17 items: 2 18 }, 19 768: { 20 items: 3 21 }, 22 992: { 23 items: 3 24 }, 25 1200: { 26 items: 3 27 }, 28 1400: { 29 items: 3 30 } 31 } 32 }); 33}); 34