nancypannikkat/js/general.js

10 lines
255 B
JavaScript
Raw Normal View History

2023-01-04 22:45:24 -08:00
document.addEventListener( 'DOMContentLoaded', function() {
var splide = new Splide( '.splide', {
type : 'loop',
perPage: 3,
focus : 'center',
autoWidth: true,
autoplay: true,
} );
splide.mount();
});