primevue-mirror/apps/showcase/doc/tabs/pt/index.vue

60 lines
1.7 KiB
Vue
Raw Normal View History

2024-04-19 13:51:57 +00:00
<template>
<div class="doc-main">
<div class="doc-intro">
<h1>Tabs Pass Through</h1>
</div>
<DocSections :docs="docs" />
</div>
<DocSectionNav :docs="docs" />
</template>
<script>
import DocApiTable from '@/components/doc/DocApiTable.vue';
2024-05-13 21:48:50 +00:00
import { getPTOptions } from '@/components/doc/helpers';
2024-09-16 13:04:45 +00:00
import PTViewer from './PTViewer.vue';
2024-04-19 13:51:57 +00:00
export default {
data() {
return {
docs: [
{
2024-09-16 13:04:45 +00:00
id: 'pt.viewer',
label: 'Viewer',
component: PTViewer
2024-04-19 13:51:57 +00:00
},
{
id: 'pt.doc.tabs',
label: 'Tabs PT Options',
component: DocApiTable,
2024-05-13 21:48:50 +00:00
data: getPTOptions('Tabs')
2024-04-19 13:51:57 +00:00
},
{
id: 'pt.doc.tablist',
label: 'TabList PT Options',
component: DocApiTable,
2024-05-13 21:48:50 +00:00
data: getPTOptions('TabList')
2024-04-19 13:51:57 +00:00
},
{
id: 'pt.doc.tab',
label: 'Tab PT Options',
component: DocApiTable,
2024-05-13 21:48:50 +00:00
data: getPTOptions('Tab')
2024-04-19 13:51:57 +00:00
},
{
id: 'pt.doc.tabpanels',
label: 'TabPanels PT Options',
component: DocApiTable,
2024-05-13 21:48:50 +00:00
data: getPTOptions('TabPanels')
2024-04-19 13:51:57 +00:00
},
{
id: 'pt.doc.tabpanel',
label: 'TabPanel PT Options',
component: DocApiTable,
2024-05-13 21:48:50 +00:00
data: getPTOptions('TabPanel')
2024-04-19 13:51:57 +00:00
}
]
};
}
};
</script>