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

42 lines
1.1 KiB
Vue
Raw Normal View History

2024-02-07 12:08:53 +00:00
<template>
<div class="doc-main">
<div class="doc-intro">
<h1>IconField 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';
2024-09-19 07:01:02 +00:00
import PTViewer from './PTViewer.vue';
2024-02-07 12:08:53 +00:00
export default {
data() {
return {
docs: [
{
2024-09-19 07:01:02 +00:00
id: 'pt.viewer',
label: 'Viewer',
component: PTViewer
2024-02-07 12:08:53 +00:00
},
{
id: 'pt.doc.iconfield',
label: 'IconField PT Options',
component: DocApiTable,
2024-05-13 21:48:50 +00:00
data: getPTOptions('IconField')
2024-02-07 12:08:53 +00:00
},
{
id: 'pt.doc.inputicon',
label: 'InputIcon PT Options',
component: DocApiTable,
2024-05-13 21:48:50 +00:00
data: getPTOptions('InputIcon')
2024-02-07 12:08:53 +00:00
}
]
};
}
};
</script>