primevue-mirror/apps/showcase/pages/togglebutton/index.vue

70 lines
2.1 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent
title="Vue ToggleButton Component"
header="ToggleButton"
description="ToggleButton is used to select a boolean value using a button."
:componentDocs="docs"
:apiDocs="['ToggleButton']"
:ptTabComponent="ptComponent"
:themingDocs="themingDoc"
/>
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/togglebutton/AccessibilityDoc.vue';
import BasicDoc from '@/doc/togglebutton/BasicDoc.vue';
import CustomizedDoc from '@/doc/togglebutton/CustomizedDoc.vue';
import DisabledDoc from '@/doc/togglebutton/DisabledDoc.vue';
2024-10-23 12:21:38 +00:00
import FormsDoc from '@/doc/togglebutton/FormsDoc.vue';
2023-02-28 08:29:30 +00:00
import ImportDoc from '@/doc/togglebutton/ImportDoc.vue';
2024-02-02 11:51:37 +00:00
import InvalidDoc from '@/doc/togglebutton/InvalidDoc.vue';
2023-05-07 11:38:47 +00:00
import PTComponent from '@/doc/togglebutton/pt/index.vue';
import ThemingDoc from '@/doc/togglebutton/theming/index.vue';
2022-09-09 20:41:18 +00:00
export default {
data() {
return {
2023-02-28 08:29:30 +00:00
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'basic',
label: 'Basic',
component: BasicDoc
},
2024-10-23 09:52:41 +00:00
{
2024-10-23 12:21:38 +00:00
id: 'forms',
label: 'Forms',
component: FormsDoc
2024-10-23 09:52:41 +00:00
},
2023-02-28 08:29:30 +00:00
{
id: 'customized',
label: 'Customized',
component: CustomizedDoc
},
2024-02-02 11:51:37 +00:00
{
id: 'invalid',
label: 'Invalid',
component: InvalidDoc
},
2023-02-28 08:29:30 +00:00
{
id: 'disabled',
label: 'Disabled',
component: DisabledDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-05-07 11:38:47 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>