primevue-mirror/apps/showcase/pages/image/index.vue

50 lines
1.6 KiB
Vue
Raw Permalink Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent title="Vue Image Component" header="Image" description="Displays a single image with preview and tranformation options." :componentDocs="docs" :apiDocs="['Image']" :ptTabComponent="ptComponent" :themingDocs="themingDoc" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-09-21 11:21:43 +00:00
import AccessibilityDoc from '@/doc/image/AccessibilityDoc.vue';
import BasicDoc from '@/doc/image/BasicDoc.vue';
import ImportDoc from '@/doc/image/ImportDoc.vue';
import PreviewDoc from '@/doc/image/PreviewDoc.vue';
import TemplateDoc from '@/doc/image/TemplateDoc.vue';
2023-05-04 07:46:38 +00:00
import PTComponent from '@/doc/image/pt/index.vue';
2023-07-31 13:02:55 +00:00
import ThemingDoc from '@/doc/image/theming/index.vue';
2022-09-09 20:41:18 +00:00
export default {
2023-02-28 08:29:30 +00:00
data() {
return {
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'basic',
label: 'Basic',
component: BasicDoc
},
{
id: 'preview',
label: 'Preview',
component: PreviewDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-05-04 07:46:38 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2023-02-28 08:29:30 +00:00
};
2022-09-09 20:41:18 +00:00
}
};
</script>