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

92 lines
3.0 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent title="Vue Listbox Component" header="Listbox" description="Listbox is used to select one or more values from a list of items." :componentDocs="docs" :apiDocs="['Listbox']" :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/listbox/AccessibilityDoc.vue';
import BasicDoc from '@/doc/listbox/BasicDoc.vue';
import CheckmarkDoc from '@/doc/listbox/CheckmarkDoc.vue';
2023-09-21 11:21:43 +00:00
import DisabledDoc from '@/doc/listbox/DisabledDoc.vue';
import FilterDoc from '@/doc/listbox/FilterDoc.vue';
2024-10-23 06:36:25 +00:00
import FormDoc from '@/doc/listbox/FormDoc.vue';
2023-09-21 11:21:43 +00:00
import GroupDoc from '@/doc/listbox/GroupDoc.vue';
import ImportDoc from '@/doc/listbox/ImportDoc.vue';
import InvalidDoc from '@/doc/listbox/InvalidDoc.vue';
import MultipleDoc from '@/doc/listbox/MultipleDoc.vue';
import TemplateDoc from '@/doc/listbox/TemplateDoc.vue';
import VirtualScrollDoc from '@/doc/listbox/VirtualScrollDoc.vue';
2023-05-07 21:08:46 +00:00
import PTComponent from '@/doc/listbox/pt/index.vue';
import ThemingDoc from '@/doc/listbox/theming/index.vue';
2023-05-07 21:08:46 +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 06:36:25 +00:00
{
id: 'form',
label: 'Form',
component: FormDoc
},
{
id: 'checkmark',
label: 'Checkmark',
component: CheckmarkDoc
},
2023-02-28 08:29:30 +00:00
{
id: 'multiple',
label: 'Multiple',
component: MultipleDoc
},
{
id: 'group',
label: 'Group',
component: GroupDoc
},
{
id: 'filter',
label: 'Filter',
component: FilterDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
{
id: 'virtualscroll',
label: 'Virtual Scroll',
component: VirtualScrollDoc
},
{
id: 'invalid',
label: 'Invalid',
component: InvalidDoc
},
2022-09-09 20:41:18 +00:00
{
2023-02-28 08:29:30 +00:00
id: 'disabled',
label: 'Disabled',
component: DisabledDoc
2022-09-09 20:41:18 +00:00
},
{
2023-02-28 08:29:30 +00:00
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
2022-09-09 20:41:18 +00:00
}
2023-05-07 21:08:46 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>