2022-12-22 17:14:16 +00:00
|
|
|
<template>
|
2023-07-27 09:03:29 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue TabMenu Component"
|
|
|
|
header="TabMenu"
|
|
|
|
description="TabMenu is a navigation/command component that displays items as tab headers."
|
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['TabMenu', 'MenuItem']"
|
|
|
|
:ptTabComponent="ptComponent"
|
|
|
|
:themingDocs="themingDoc"
|
|
|
|
/>
|
2022-12-22 17:14:16 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-04-28 07:24:00 +00:00
|
|
|
import PTComponent from '@/doc/tabmenu/pt/index.vue';
|
2023-07-27 09:03:29 +00:00
|
|
|
import ThemingDoc from '@/doc/tabmenu/theming/index.vue';
|
2023-02-28 08:29:30 +00:00
|
|
|
import AccessibilityDoc from '../doc/tabmenu/AccessibilityDoc.vue';
|
|
|
|
import BasicDoc from '../doc/tabmenu/BasicDoc.vue';
|
|
|
|
import ControlledDoc from '../doc/tabmenu/ControlledDoc.vue';
|
|
|
|
import ImportDoc from '../doc/tabmenu/ImportDoc.vue';
|
2022-12-22 17:14:16 +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: 'controlled',
|
|
|
|
label: 'Controlled',
|
|
|
|
component: ControlledDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'accessibility',
|
|
|
|
label: 'Accessibility',
|
|
|
|
component: AccessibilityDoc
|
|
|
|
}
|
2023-04-28 07:24:00 +00:00
|
|
|
],
|
2023-07-27 09:03:29 +00:00
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
2022-12-22 17:14:16 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|