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

42 lines
1.1 KiB
Vue
Raw Normal View History

2023-05-09 22:40:39 +00:00
<template>
<div class="doc-main">
<div class="doc-intro">
<h1>DataView 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.dataview',
label: 'DataView PT Options',
component: DocApiTable,
data: getPTOption('DataView')
},
{
id: 'pt.doc.dataviewlayoutoptions',
label: 'DataViewLayoutOptions PT Options',
component: DocApiTable,
data: getPTOption('DataViewLayoutOptions')
}
]
};
}
};
</script>