Update docs

This commit is contained in:
Vadim
2022-09-03 13:17:05 +03:00
parent 71c34fd7b1
commit e1b9d63776
2 changed files with 10 additions and 6 deletions

View File

@@ -389,13 +389,16 @@ This slot takes content for the carousel.
Slot props:
| Prop | Type | Description |
|-------------------|------------|----------------------------------------------------------------------|
| `loaded` | `number[]` | Contains indexes of pages to be loaded. Can be used for lazy loading |
| Prop | Type | Description |
|--------------------|------------|----------------------------------------------------------------------|
| `loaded` | `number[]` | Contains indexes of pages to be loaded. Can be used for lazy loading |
| `currentPageIndex` | `number` | Represents current page index (start from 0) |
```jsx
<Carousel
let:loaded
let:currentPageIndex
>
<div>
<!-- -->