diff --git a/src/views/carousel/CarouselDoc.vue b/src/views/carousel/CarouselDoc.vue index db7c6d03c..237380e2e 100644 --- a/src/views/carousel/CarouselDoc.vue +++ b/src/views/carousel/CarouselDoc.vue @@ -10,39 +10,11 @@ import Carousel from 'primevue/carousel';

Getting Started

Carousel requires a collection of items as its value along with a template to render each item.

-<Carousel :value="cars"></Carousel> - - -

Templates

-

Carousel provides header, item and footer as the named templates to place content.

- - - +

Items per page and Scroll Items

Number of items per page is defined using the numVisible property whereas number of items to scroll is defined with the numScroll property.

@@ -110,6 +82,7 @@ data() {

Header and Footer

Custom content projection is available using the header and footer templates.

+ <Carousel :value="cars" :numVisible="3" :numScroll="1" :responsiveOptions="responsiveOptions"> <template #header>