70 lines
2.1 KiB
Vue
Executable File
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 ThemingDoc from '@/doc/Carousel/theming/index.vue';
|
|
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';
|
|
|
|
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>
|