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

36 lines
892 B
Vue
Raw Normal View History

2023-05-07 20:38:12 +00:00
<template>
<div class="doc-main">
<div class="doc-intro">
2024-04-18 14:22:30 +00:00
<h1>ToggleSwitch Pass Through</h1>
2023-05-07 20:38:12 +00:00
</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:02:49 +00:00
import PTViewer from './PTViewer.vue';
2023-05-07 20:38:12 +00:00
export default {
data() {
return {
docs: [
{
2024-09-19 07:02:49 +00:00
id: 'pt.viewer',
label: 'Viewer',
component: PTViewer
2023-05-07 20:38:12 +00:00
},
{
2024-04-18 14:22:30 +00:00
id: 'pt.doc.toggleswitch',
label: 'ToggleSwitch PT Options',
2023-05-07 20:38:12 +00:00
component: DocApiTable,
2024-05-13 21:48:50 +00:00
data: getPTOptions('ToggleSwitch')
2023-05-07 20:38:12 +00:00
}
]
};
}
};
</script>