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

36 lines
868 B
Vue
Raw Normal View History

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