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

@@ -218,8 +218,9 @@ This slot takes content for the carousel.
Slot props: Slot props:
| Prop | Type | Description | | Prop | Type | Description |
|-------------------|------------|----------------------------------------------------------------------| |--------------------|------------|----------------------------------------------------------------------|
| `loaded` | `number[]` | Contains indexes of pages to be loaded. Can be used for lazy loading | | `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 ```jsx
<Carousel <Carousel

View File

@@ -390,12 +390,15 @@ This slot takes content for the carousel.
Slot props: Slot props:
| Prop | Type | Description | | Prop | Type | Description |
|-------------------|------------|----------------------------------------------------------------------| |--------------------|------------|----------------------------------------------------------------------|
| `loaded` | `number[]` | Contains indexes of pages to be loaded. Can be used for lazy loading | | `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 ```jsx
<Carousel <Carousel
let:loaded let:loaded
let:currentPageIndex
> >
<div> <div>
<!-- --> <!-- -->