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

53 lines
1.5 KiB
Vue
Raw Normal View History

<template>
<div className="doc-main">
<div className="doc-intro">
<h1>Panel Pass Through</h1>
<p>Description</p>
</div>
<DocSections :docs="docs" />
</div>
<DocSectionNav :docs="docs" />
</template>
<script>
2023-04-01 02:36:59 +00:00
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';
2023-04-01 02:36:59 +00:00
export default {
data() {
return {
docs: [
{
id: 'pt.image',
label: 'Image',
description: 'Pass Through Image',
component: PTImage
},
{
id: 'pt.doc.accordion',
label: 'Accordion PT Options',
description: 'Pass Through Accordion',
component: DocApiTable,
data: getPTOption('Accordion')
},
{
id: 'pt.doc.tab',
label: 'AccordionTab PT Options',
description: 'Pass Through AccordionTab',
component: DocApiTable,
data: getPTOption('AccordionTab')
},
{
id: 'pt.demo',
label: 'Demo',
description: 'Pass Through Demo',
component: PtDoc
}
]
};
}
};
</script>