docs: fix carousel scoped slots example
This commit is contained in:
parent
85b10641c2
commit
ae9332c2ec
|
|
@ -244,8 +244,8 @@ You can get the reactive slot props like `carouselRef, canScrollNext..Prev, scro
|
||||||
<template>
|
<template>
|
||||||
<Carousel v-slot="{ canScrollNext, canScrollPrev }">
|
<Carousel v-slot="{ canScrollNext, canScrollPrev }">
|
||||||
...
|
...
|
||||||
<CarouselPrevious v-if="canScrollPrev" />
|
<CarouselPrevious v-if="canScrollPrev.value" />
|
||||||
<CarouselNext v-if="canScrollNext" />
|
<CarouselNext v-if="canScrollNext.value" />
|
||||||
</Carousel>
|
</Carousel>
|
||||||
</template>
|
</template>
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user