From c5626eae96b5246b985b04487212ff49e4221f75 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Tue, 22 Oct 2019 17:29:36 +0300 Subject: [PATCH] Doc update --- src/views/carousel/CarouselDoc.vue | 35 ++++-------------------------- 1 file changed, 4 insertions(+), 31 deletions(-) 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>