primevue-mirror/pages/carousel/index.vue

70 lines
2.1 KiB
Vue
Executable File

<template>
<DocComponent
title="Vue Carousel Component"
header="Carousel"
description="Carousel is a content slider featuring various customization options."
:componentDocs="docs"
:apiDocs="['Carousel']"
:ptTabComponent="ptComponent"
:themingDocs="themingDoc"
/>
</template>
<script>
import AccessibilityDoc from '@/doc/carousel/AccessibilityDoc';
import BasicDoc from '@/doc/carousel/BasicDoc';
import CircularDoc from '@/doc/carousel/CircularDoc';
import ImportDoc from '@/doc/carousel/ImportDoc';
import NumScrollDoc from '@/doc/carousel/NumScrollDoc';
import ResponsiveDoc from '@/doc/carousel/ResponsiveDoc';
import VerticalDoc from '@/doc/carousel/VerticalDoc';
import PTComponent from '@/doc/carousel/pt/index.vue';
import ThemingDoc from '@/doc/carousel/theming/index.vue';
export default {
data() {
return {
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'basic',
label: 'Basic',
component: BasicDoc
},
{
id: 'circular',
label: 'Circular',
component: CircularDoc
},
{
id: 'numscroll',
label: 'Num Scroll',
component: NumScrollDoc
},
{
id: 'responsive',
label: 'Responsive',
component: ResponsiveDoc
},
{
id: 'vertical',
label: 'Vertical',
component: VerticalDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
};
}
};
</script>