73 lines
2.3 KiB
Vue
Executable File
73 lines
2.3 KiB
Vue
Executable File
<template>
|
|
<DocComponent title="Vue Paginator Component" header="Paginator" description="Paginator displays data in paged format and provides navigation between pages." :componentDocs="docs" :apiDocs="['Paginator']" :ptTabComponent="ptComponent" />
|
|
</template>
|
|
|
|
<script>
|
|
import AccessibilityDoc from '@/doc/paginator/AccessibilityDoc.vue';
|
|
import BasicDoc from '@/doc/paginator/BasicDoc.vue';
|
|
import CurrentPageReportDoc from '@/doc/paginator/CurrentPageReportDoc.vue';
|
|
import CustomContentDoc from '@/doc/paginator/CustomContentDoc.vue';
|
|
import ImportDoc from '@/doc/paginator/ImportDoc.vue';
|
|
import ResponsiveDoc from '@/doc/paginator/ResponsiveDoc.vue';
|
|
import StyleDoc from '@/doc/paginator/StyleDoc.vue';
|
|
import TemplateDoc from '@/doc/paginator/TemplateDoc.vue';
|
|
import PTComponent from '@/doc/paginator/pt/index.vue';
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
docs: [
|
|
{
|
|
id: 'import',
|
|
label: 'Import',
|
|
component: ImportDoc
|
|
},
|
|
{
|
|
id: 'basic',
|
|
label: 'Basic',
|
|
component: BasicDoc
|
|
},
|
|
{
|
|
id: 'template',
|
|
label: 'Template',
|
|
component: TemplateDoc
|
|
},
|
|
{
|
|
id: 'currentpagereport',
|
|
label: 'Current Page Report',
|
|
component: CurrentPageReportDoc
|
|
},
|
|
{
|
|
id: 'responsive',
|
|
label: 'Responsive',
|
|
component: ResponsiveDoc
|
|
},
|
|
{
|
|
id: 'customcontent',
|
|
label: 'Custom Content',
|
|
component: CustomContentDoc
|
|
},
|
|
{
|
|
id: 'style',
|
|
label: 'Style',
|
|
component: StyleDoc
|
|
},
|
|
{
|
|
id: 'accessibility',
|
|
label: 'Accessibility',
|
|
component: AccessibilityDoc
|
|
}
|
|
],
|
|
ptComponent: PTComponent
|
|
};
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style scoped>
|
|
.image-gallery {
|
|
text-align: center;
|
|
padding: 1rem;
|
|
}
|
|
</style>
|