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

82 lines
2.5 KiB
Vue
Raw Permalink Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent
title="Vue SelectButton Component"
header="SelectButton"
2024-01-11 13:53:39 +00:00
description="SelectButton is used to choose single or multiple items from a list using buttons."
:componentDocs="docs"
:apiDocs="['SelectButton']"
:ptTabComponent="ptComponent"
:themingDocs="themingDoc"
/>
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-09-21 11:21:43 +00:00
import AccessibilityDoc from '@/doc/selectbutton/AccessibilityDoc.vue';
import BasicDoc from '@/doc/selectbutton/BasicDoc.vue';
import DisabledDoc from '@/doc/selectbutton/DisabledDoc.vue';
2024-10-23 12:21:38 +00:00
import FormsDoc from '@/doc/selectbutton/FormsDoc.vue';
2023-09-21 11:21:43 +00:00
import ImportDoc from '@/doc/selectbutton/ImportDoc.vue';
2024-10-26 10:41:04 +00:00
import SizesDoc from '@/doc/selectbutton/SizesDoc.vue';
2023-09-21 11:21:43 +00:00
import InvalidDoc from '@/doc/selectbutton/InvalidDoc.vue';
import MultipleDoc from '@/doc/selectbutton/MultipleDoc.vue';
import TemplateDoc from '@/doc/selectbutton/TemplateDoc.vue';
2023-05-06 19:56:50 +00:00
import PTComponent from '@/doc/selectbutton/pt/index.vue';
import ThemingDoc from '@/doc/selectbutton/theming/index.vue';
2023-05-06 19:56:50 +00:00
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:51:26 +00:00
{
2024-10-23 12:21:38 +00:00
id: 'forms',
label: 'Forms',
component: FormsDoc
2024-10-23 09:51:26 +00:00
},
2023-02-28 08:29:30 +00:00
{
id: 'multiple',
label: 'Multiple',
component: MultipleDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
2024-10-26 10:41:04 +00:00
{
id: 'sizes',
label: 'Sizes',
component: SizesDoc
},
2023-02-28 08:29:30 +00:00
{
id: 'invalid',
label: 'Invalid',
component: InvalidDoc
},
{
id: 'disabled',
label: 'Disabled',
component: DisabledDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-05-06 19:56:50 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>