allow currentPageIndex be used by the contents

This commit is contained in:
laazyCmd
2022-05-06 19:03:23 +08:00
parent 67c227995b
commit 5ef60898e9

View File

@@ -292,7 +292,7 @@
"
bind:this={particlesContainer}
>
<slot {loaded}></slot>
<slot {loaded} {currentPageIndex}></slot>
</div>
{#if autoplayProgressVisible}
<div class="sc-carousel-progress__container">