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

42 lines
1.1 KiB
Vue
Raw Permalink Normal View History

2023-04-21 12:05:15 +00:00
<template>
<div class="doc-main">
<div class="doc-intro">
<h1>Avatar 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-18 13:05:52 +00:00
import PTViewer from './PTViewer.vue';
2023-04-21 12:05:15 +00:00
export default {
data() {
return {
docs: [
{
2024-09-18 13:05:52 +00:00
id: 'pt.viewer',
label: 'Viewer',
component: PTViewer
2023-04-21 12:05:15 +00:00
},
{
id: 'pt.doc.avatar',
label: 'Avatar PT Options',
component: DocApiTable,
2024-05-13 21:48:50 +00:00
data: getPTOptions('Avatar')
2023-04-21 12:05:15 +00:00
},
{
2023-05-02 09:36:48 +00:00
id: 'pt.doc.avatar',
2023-04-21 12:05:15 +00:00
label: 'AvatarGroup PT Options',
component: DocApiTable,
2024-05-13 21:48:50 +00:00
data: getPTOptions('AvatarGroup')
2023-04-21 12:05:15 +00:00
}
]
};
}
};
</script>