beyonk-group/svelte-carousel

Control the slider from the parent component

jokin opened this issue · 1 comments

jokin commented

I want to control the slides (move left, right, select an specific slide, pause the autoslider when the carousel is focused or hovered).

I make it work exporting the left - right functions, is there another way without having to export the functions?

If do you think is something useful, I can make a pull request adding some comments on the usage to the readme.

Exporting the functions is the correct way to do this. I would welcome a PR exporting all the functions :)