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

76 lines
2.3 KiB
Vue
Raw Permalink Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent
title="Vue ContextMenu Component"
header="ContextMenu"
2023-11-07 07:55:48 +00:00
description="ContextMenu displays an overlay menu to display actions related to an element."
:componentDocs="docs"
:apiDocs="['ContextMenu', 'MenuItem']"
: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/contextmenu/AccessibilityDoc.vue';
import BasicDoc from '@/doc/contextmenu/BasicDoc.vue';
2023-11-07 07:55:48 +00:00
import CommandDoc from '@/doc/contextmenu/CommandDoc.vue';
import DataTableDoc from '@/doc/contextmenu/DataTableDoc.vue';
2023-09-21 11:21:43 +00:00
import DocumentDoc from '@/doc/contextmenu/DocumentDoc.vue';
import ImportDoc from '@/doc/contextmenu/ImportDoc.vue';
import RouterDoc from '@/doc/contextmenu/RouterDoc.vue';
2023-11-07 07:55:48 +00:00
import TemplateDoc from '@/doc/contextmenu/TemplateDoc.vue';
2023-04-27 14:52:22 +00:00
import PTComponent from '@/doc/contextmenu/pt/index.vue';
import ThemingDoc from '@/doc/contextmenu/theming/index.vue';
2022-09-09 20:41:18 +00:00
export default {
data() {
return {
2023-02-28 08:29:30 +00:00
docs: [
2022-09-09 20:41:18 +00:00
{
2023-02-28 08:29:30 +00:00
id: 'import',
label: 'Import',
component: ImportDoc
2022-09-09 20:41:18 +00:00
},
{
2023-02-28 08:29:30 +00:00
id: 'basic',
label: 'Basic',
component: BasicDoc
2022-09-09 20:41:18 +00:00
},
{
2023-02-28 08:29:30 +00:00
id: 'document',
label: 'Document',
component: DocumentDoc
2022-09-09 20:41:18 +00:00
},
2023-11-07 07:55:48 +00:00
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
{
id: 'command',
label: 'Command',
component: CommandDoc
},
2023-08-30 13:33:42 +00:00
{
id: 'router',
label: 'Router',
component: RouterDoc
},
2023-11-07 07:55:48 +00:00
{
id: 'datatable',
label: 'DataTable',
component: DataTableDoc
},
2022-09-09 20:41:18 +00:00
{
2023-02-28 08:29:30 +00:00
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
2022-09-09 20:41:18 +00:00
}
2023-04-27 14:52:22 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>