Slidy icon indicating copy to clipboard operation
Slidy copied to clipboard

@slidy/svelte: autoplay

Open EricRovell opened this issue 2 years ago • 1 comments

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;
  • interval value in ms;

Also, there are more to consider:

  • Should the autoplay stop on hover or focus?
  • Should the autoplay stop at the end of the carousel?

For accessibility there should be a pause button too.

EricRovell avatar Jun 24 '22 17:06 EricRovell

Hover & focus stop will good optioned & stop by edges if not loop mode i think

Valexr avatar Jun 24 '22 18:06 Valexr

Implemented autoplay feature. Not much configurable yet, still it works to accordance to accessibility guidelines.

EricRovell avatar Aug 23 '22 23:08 EricRovell