vadimkorr / svelte-carousel

The awesome carousel component for Svelte 3 :arrow_left: :art: :arrow_right:
https://vadimkorr.github.io/svelte-carousel
Apache License 2.0
285 stars 63 forks source link

Resolves #145: add particle offset (gapSize) #164

Open MikeeNachtigall opened 3 months ago

MikeeNachtigall commented 3 months ago

Hi, I found a simple but working solution to this problem. Czech it out.

Just add gapSize={} to the Carousel component, type a number in pixels and a simple calculation will take care of the rest.