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>
|
||||
<Carousel v-slot="{ canScrollNext, canScrollPrev }">
|
||||
...
|
||||
<CarouselPrevious v-if="canScrollPrev" />
|
||||
<CarouselNext v-if="canScrollNext" />
|
||||
<CarouselPrevious v-if="canScrollPrev.value" />
|
||||
<CarouselNext v-if="canScrollNext.value" />
|
||||
</Carousel>
|
||||
</template>
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user