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

61 lines
1.9 KiB
Vue

<template>
<div class="doc-main">
<div class="doc-intro">
<h1>Accordion Pass Through</h1>
</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 PTImage from './PTImage.vue';
export default {
data() {
return {
docs: [
{
id: 'pt.image',
label: 'Wireframe',
component: PTImage
},
{
id: 'pt.doc.accordion',
label: 'Accordion PT Options',
component: DocApiTable,
data: getPTOption('Accordion')
},
{
id: 'pt.doc.accordionpanel',
label: 'AccordionPanel PT Options',
component: DocApiTable,
data: getPTOption('AccordionPanel')
},
{
id: 'pt.doc.accordionheader',
label: 'AccordionHeader PT Options',
component: DocApiTable,
data: getPTOption('AccordionHeader')
},
{
id: 'pt.doc.accordioncontent',
label: 'AccordionContent PT Options',
component: DocApiTable,
data: getPTOption('AccordionContent')
},
{
id: 'pt.doc.accordiontab',
label: 'AccordionTab PT Options',
badge: { value: 'Deprecated since v4', severity: 'warn' },
component: DocApiTable,
data: getPTOption('AccordionTab')
}
]
};
}
};
</script>