Slidy
Slidy copied to clipboard
@slidy/svelte: autoplay
trafficstars
Tha autoplay feature was requested frequently while slidy was at v2.x.
As I see it, the feature should be implemented using these interface:
autoplay- indicating the state;intervalvalue in ms;
Also, there are more to consider:
- Should the
autoplaystop onhoverorfocus? - Should the
autoplaystop at the end of the carousel?
For accessibility there should be a pause button too.
Hover & focus stop will good optioned & stop by edges if not loop mode i think
Implemented autoplay feature. Not much configurable yet, still it works to accordance to accessibility guidelines.