const splide = new Splide('.splide', { type: 'loop', autoScroll: { speed: 2, pauseOnHover: true, //Change this to false if you want to disable this. } });