Update docs

This commit is contained in:
Vadim
2021-01-25 21:50:46 +03:00
parent 52ecfbde54
commit ab80cad0ad
9 changed files with 330 additions and 21 deletions

View File

@@ -28,7 +28,7 @@
/**
* Page to start on
*/
export let initialPageIndex = 1
export let initialPageIndex = 0
/**
* Transition speed (ms)
@@ -197,7 +197,10 @@
"
bind:this={pagesElement}
>
<slot></slot>
<slot
currentPageIndex={originalCurrentPageIndex}
>
</slot>
</div>
</div>
{#if arrows}
@@ -236,6 +239,7 @@
align-items: center;
}
.carousel-container {
position: relative;
display: flex;
width: 100%;
}