beyonk-group/svelte-carousel

perPage attribute does not work

Closed this issue · 1 comments

jokin commented

https://svelte.dev/repl/bc764e128fc24a10950a1c51973a25fd?version=3.22.3

It seems siema doesn't accept the perPage parameter as an string. If I change the number or introduce a parseInt on the svelte-carousel code before passing the prop to siema it works.

jokin commented

I found that using "{1}" instead of "1" in the props also work, so maybe just including on the documentation could suffice.