primevue-mirror/apps/showcase/doc/datatable/pt/index.vue

54 lines
1.5 KiB
Vue
Raw Normal View History

2023-05-08 14:09:32 +00:00
<template>
<div class="doc-main">
<div class="doc-intro">
<h1>DataTable Pass Through</h1>
</div>
<DocSections :docs="docs" />
</div>
<DocSectionNav :docs="docs" />
</template>
<script>
import DocApiTable from '@/components/doc/DocApiTable.vue';
2024-05-13 21:48:50 +00:00
import { getPTOptions } from '@/components/doc/helpers';
2023-05-08 14:09:32 +00:00
import PTImage from './PTImage.vue';
export default {
data() {
return {
docs: [
{
id: 'pt.image',
label: 'Wireframe',
component: PTImage
},
{
id: 'pt.doc.datatable',
label: 'DataTable PT Options',
component: DocApiTable,
2024-05-13 21:48:50 +00:00
data: getPTOptions('DataTable')
2023-05-08 14:09:32 +00:00
},
2023-05-09 15:05:27 +00:00
{
id: 'pt.doc.column',
label: 'Column PT Options',
component: DocApiTable,
2024-05-13 21:48:50 +00:00
data: getPTOptions('Column')
2023-05-09 15:05:27 +00:00
},
2023-05-10 11:41:26 +00:00
{
id: 'pt.doc.columngroup',
label: 'ColumnGroup PT Options',
component: DocApiTable,
2024-05-13 21:48:50 +00:00
data: getPTOptions('ColumnGroup')
2023-05-10 11:41:26 +00:00
},
{
id: 'pt.doc.row',
label: 'Row PT Options',
component: DocApiTable,
2024-05-13 21:48:50 +00:00
data: getPTOptions('Row')
2023-05-08 14:09:32 +00:00
}
]
};
}
};
</script>