beyonk-group/svelte-carousel

Dots option not working

CarloAntenucci opened this issue · 1 comments

I cannot deactivate the dots. I've installed the latest version of svelte-carousel:

npm list @beyonk/svelte-carousel
svelte-components
└── @beyonk/svelte-carousel@2.4.0 

But seems the markup is not up to date to what i can see in this repo. Here you are the component source in node_modules:

<div class="carousel">
	<button class="left" on:click={left}>
		<slot name="left-control"></slot>
	</button>
	<div class="slides" bind:this={siema}>
		<slot></slot>
	</div>
	<ul>
		{#each pips as pip, i}
		<li on:click={() => go(i)} class={currentIndex === i ? "active" : ""}></li>
		{/each}
	</ul>
	<button class="right" on:click={right}>
		<slot name="right-control"></slot>
	</button>
</div>

Can you check it?

This was merged but not released - it has now been released in 2.5.0