primevue-mirror/pages/timeline/index.vue

62 lines
2.0 KiB
Vue

<template>
<DocComponent title="Vue Timeline Component" header="Timeline" description="Timeline visualizes a series of chained events." :componentDocs="docs" :apiDocs="['Timeline']" :ptTabComponent="ptComponent" :themingDocs="themingDoc" />
</template>
<script>
import AccessibilityDoc from '@/doc/timeline/AccessibilityDoc.vue';
import AlignmentDoc from '@/doc/timeline/AlignmentDoc.vue';
import BasicDoc from '@/doc/timeline/BasicDoc.vue';
import HorizontalDoc from '@/doc/timeline/HorizontalDoc.vue';
import ImportDoc from '@/doc/timeline/ImportDoc.vue';
import OppositeDoc from '@/doc/timeline/OppositeDoc.vue';
import TemplateDoc from '@/doc/timeline/TemplateDoc.vue';
import PTComponent from '@/doc/timeline/pt/index.vue';
import ThemingDoc from '@/doc/timeline/theming/index.vue';
export default {
data() {
return {
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'basic',
label: 'Basic',
component: BasicDoc
},
{
id: 'alignment',
label: 'Alignment',
component: AlignmentDoc
},
{
id: 'opposite',
label: 'Opposite',
component: OppositeDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
{
id: 'horizontal',
label: 'Horizontal',
component: HorizontalDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
};
}
};
</script>