Update docs
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
<!-- -->
|
<!-- -->
|
||||||
|
|||||||
Reference in New Issue
Block a user