Update docs
This commit is contained in:
@@ -217,9 +217,10 @@ 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
|
||||||
|
|||||||
@@ -389,13 +389,16 @@ 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