primevue-mirror/pages/paginator/index.vue

73 lines
2.3 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-05-08 09:37:06 +00:00
<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" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/paginator/AccessibilityDoc.vue';
import BasicDoc from '@/doc/paginator/BasicDoc.vue';
2023-05-08 09:37:06 +00:00
import CurrentPageReportDoc from '@/doc/paginator/CurrentPageReportDoc.vue';
import CustomContentDoc from '@/doc/paginator/CustomContentDoc.vue';
2023-02-28 08:29:30 +00:00
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';
2023-05-08 09:37:06 +00:00
import PTComponent from '@/doc/paginator/pt/index.vue';
2022-09-09 20:41:18 +00:00
export default {
data() {
return {
2023-02-28 08:29:30 +00:00
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
}
2023-05-08 09:37:06 +00:00
],
ptComponent: PTComponent
2022-09-09 20:41:18 +00:00
};
}
};
</script>
<style scoped>
.image-gallery {
text-align: center;
padding: 1rem;
}
</style>