Hi,
I need to autoplay the slider when it comes in the viewport.
I search if it is possible with splide JS and, yes, there is an extension for this: Intersection.
I can add the required JS file. There is no problem with that, but it is needed to add this code:
new Splide( '#splide' ).mount( window.splide.Extensions );
And
new Splide( '#splide', {
autoplay: 'pause',
intersection: {
inView: {
autoplay: true,
},
},
} );
I don’t know how to do this, perhaps whith the help of Nestable Slider: Customization via JavaScript.
Thanks.