diff --git a/apps/www/src/content/docs/components/carousel.md b/apps/www/src/content/docs/components/carousel.md index 6cba268c..679b21e9 100644 --- a/apps/www/src/content/docs/components/carousel.md +++ b/apps/www/src/content/docs/components/carousel.md @@ -216,6 +216,20 @@ const stop = watch(api, (api) => { See the [Embla Carousel docs](https://www.embla-carousel.com/api/events/) for more information on using events. +## Slot Props + +You can get the reactive slot props like `carouselRef, canScrollNext..Prev, scrollNext..Prev` using the `v-slot` directive in the `` component to extend the functionality. + +```vue showLineNumbers {2} + +``` + ## Plugins You can use the `plugins` prop to add plugins to the carousel.