The extension for controlling the Splide slider when it enters or exits the viewport. For example, you can enable autoplay only when the slider is visible.
The package is available on NPM and jsDelivr.
$ npm install @splidejs/splide-extension-intersection
Or download files from the dist directory.
This extension does not support IE because of Intersection Observer. You need to install a polyfill to make it work in IE.
Splide is released under the MIT license. © 2021 Naotoshi Fujita