[Help]: Cannot pass options to emblaCarouselSvelte as shown in the documentation #1102
-
SummaryWhen I try to pass options to emblaCarouselSvelte as shown in the docs here (Svelte Tab), I get the error Of course this works, but is inconsistent with the documentation: Wouldn't it make sense to make the properties optional in packages/embla-carousel-svelte/src/components/emblaCarouselSvelte.ts like so: If applicable, which variants of Embla Carousel are relevant to this conversation?
Additional informationNo response CodeSandbox exampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
@waedi thank you for your question.
You're right, they should be optional like the core library ( |
Beta Was this translation helpful? Give feedback.
Solved in v9:
embla-carousel/packages/embla-carousel-svelte/src/components/useEmblaCarousel.ts
Line 15 in 20306c2