primevue-mirror/doc/tabview/pt/index.vue

52 lines
1.5 KiB
Vue
Raw Normal View History

2023-04-10 14:51:51 +00:00
<template>
<div class="doc-main">
<div class="doc-intro">
2023-04-10 14:54:59 +00:00
<h1>TabView Pass Through</h1>
2023-04-10 14:51:51 +00:00
</div>
<DocSections :docs="docs" />
</div>
<DocSectionNav :docs="docs" />
</template>
<script>
import DocApiTable from '@/components/doc/DocApiTable.vue';
import { getPTOption } from '@/components/doc/helpers/PTHelper.js';
import PtDoc from './PTDoc.vue';
import PTImage from './PTImage.vue';
export default {
data() {
return {
docs: [
{
id: 'pt.image',
label: 'Image',
description: 'Pass Through Image',
component: PTImage
},
{
id: 'pt.doc.accordion',
label: 'TabView PT Options',
description: 'Pass Through TabView',
component: DocApiTable,
data: getPTOption('TabView')
},
{
id: 'pt.doc.tab',
label: 'TabPanel PT Options',
description: 'Pass Through TabPanel',
component: DocApiTable,
data: getPTOption('TabPanel')
},
{
id: 'pt.demo',
label: 'Demo',
description: 'Pass Through Demo',
component: PtDoc
}
]
};
}
};
</script>