primevue-mirror/pages/togglebutton/index.vue

64 lines
1.9 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';
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
},
{
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>