What does it do
This is a simple slideshow build upon the carrousel. Because of this you can drag it using touchdevices and have snapping.
Usage of CarrouselSlideshow
Add to your package.json peerDependencies:
At the top of your script:
import * as CarrouselSlideshow from "dompack-carrousel-slideshow";
var slideshow = new CarrouselSlideshow(node, options);
Updating settings: (FIXME: not implemented yet)
- autoplay: true
- autoplay_initialdelay delay the first start of autoplay to prevent having a lot of slideshows run in sync
- autoplay_freezeslideduration amount of milliseconds to keep the slide still (after the transition effect) before going to the next
- autoplay_staypausedfor amount of time to keep frozen after a mouseover (FIXME: not implemented yet)
- eventPassthrough makes vertical scrolling keep on working (however at the moment it can cause textual selections)
- jumpbuttons CSS selector (string), array with nodes or nodelist with jumpbuttons
- more effects?