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.
-
-
-<Carousel :value="cars" :numVisible="4" :numScroll="3" :responsiveOptions="responsiveOptions">
- <template #header>
- <h2>Basic</h2>
- </template>
- <template #item="slotProps">
- <div class="car-details">
- <div class="p-grid p-nogutter">
- <div class="p-col-12">
- <img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" />
- </div>
- <div class="p-col-12 car-data">
- <div class="car-title">{{slotProps.data.brand}}</div>
- <div class="car-subtitle">{{slotProps.data.year}} | {{slotProps.data.color}}</div>
-
- <div class="car-buttons">
- <Button icon="pi pi-search" class="p-button-secondary" />
- <Button icon="pi pi-star" class="p-button-secondary" />
- <Button icon="pi pi-cog" class="p-button-secondary" />
- </div>
- </div>
- </div>
- </div>
+<Carousel :value="cars">
+ <template #item="slotProps">
</template>
</Carousel>
-
-
+
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>