primevue-mirror/pages/contextmenu/index.vue

48 lines
1.5 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-04-27 14:52:22 +00:00
<DocComponent title="Vue ContextMenu Component" header="ContextMenu" description="ContextMenu displays an overlay menu on right click of its target." :componentDocs="docs" :apiDocs="['ContextMenu', 'MenuItem']" :ptTabComponent="ptComponent" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/contextmenu/AccessibilityDoc';
import BasicDoc from '@/doc/contextmenu/BasicDoc';
import DocumentDoc from '@/doc/contextmenu/DocumentDoc';
import ImportDoc from '@/doc/contextmenu/ImportDoc';
import StyleDoc from '@/doc/contextmenu/StyleDoc';
2023-04-27 14:52:22 +00:00
import PTComponent from '@/doc/contextmenu/pt/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-02-28 08:29:30 +00:00
id: 'style',
label: 'Style',
component: StyleDoc
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
2022-09-09 20:41:18 +00:00
};
}
};
</script>