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

48 lines
1.3 KiB
Vue
Raw Normal View History

<template>
2023-04-10 10:45:21 +00:00
<div class="doc-main">
<div class="doc-intro">
2023-04-10 14:54:59 +00:00
<h1>Accordion Pass Through</h1>
</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',
2023-04-26 19:10:15 +00:00
label: 'Wireframe',
component: PTImage
},
{
id: 'pt.doc.accordion',
label: 'Accordion PT Options',
component: DocApiTable,
data: getPTOption('Accordion')
},
{
2023-05-02 09:36:48 +00:00
id: 'pt.doc.accordiontab',
label: 'AccordionTab PT Options',
component: DocApiTable,
data: getPTOption('AccordionTab')
},
{
id: 'pt.demo',
label: 'Demo',
component: PtDoc
}
]
};
}
};
</script>