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

68 lines
2.2 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2024-04-18 14:22:30 +00:00
<DocComponent title="Vue Drawer Component" header="Drawer" description="Drawer is a container component displayed as an overlay." :componentDocs="docs" :apiDocs="['Drawer']" :ptTabComponent="ptComponent" :themingDocs="themingDoc" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2024-04-18 14:22:30 +00:00
import AccessibilityDoc from '@/doc/drawer/AccessibilityDoc.vue';
import BasicDoc from '@/doc/drawer/BasicDoc.vue';
import FullScreenDoc from '@/doc/drawer/FullScreenDoc.vue';
import HeadlessDoc from '@/doc/drawer/HeadlessDoc.vue';
import ImportDoc from '@/doc/drawer/ImportDoc.vue';
import PositionDoc from '@/doc/drawer/PositionDoc.vue';
import SizeDoc from '@/doc/drawer/SizeDoc.vue';
import TemplateDoc from '@/doc/drawer/TemplateDoc.vue';
import PTComponent from '@/doc/drawer/pt/index.vue';
import ThemingDoc from '@/doc/drawer/theming/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: 'position',
label: 'Position',
component: PositionDoc
},
{
id: 'size',
label: 'Size',
component: SizeDoc
},
{
id: 'fullscreen',
label: 'Full Screen',
component: FullScreenDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
2023-11-01 14:31:21 +00:00
{
id: 'headless',
label: 'Headless',
component: HeadlessDoc
},
2023-02-28 08:29:30 +00:00
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-04-28 08:56:09 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>