primevue-mirror/pages/listbox/index.vue

94 lines
3.0 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-02-28 08:29:30 +00:00
<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']" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/listbox/AccessibilityDoc';
import BasicDoc from '@/doc/listbox/BasicDoc';
import DisabledDoc from '@/doc/listbox/DisabledDoc';
import FilterDoc from '@/doc/listbox/FilterDoc';
import GroupDoc from '@/doc/listbox/GroupDoc';
import ImportDoc from '@/doc/listbox/ImportDoc';
import InvalidDoc from '@/doc/listbox/InvalidDoc';
import MultipleDoc from '@/doc/listbox/MultipleDoc';
import StyleDoc from '@/doc/listbox/StyleDoc';
import TemplateDoc from '@/doc/listbox/TemplateDoc';
import VirtualScrollDoc from '@/doc/listbox/VirtualScrollDoc';
2023-03-17 13:05:14 +00:00
import VeeValidateDoc from '@/doc/listbox/form/VeeValidateDoc';
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: '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-03-17 13:05:14 +00:00
{
id: 'form',
label: 'Form',
description: 'Compatibility with popular Vue form libraries.',
children: [
{
id: 'vee-validate',
label: 'Vee Validate',
component: VeeValidateDoc
}
]
},
2022-09-09 20:41:18 +00:00
{
2023-02-28 08:29:30 +00:00
id: 'style',
label: 'Style',
component: StyleDoc
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-02-28 08:29:30 +00:00
]
2022-09-09 20:41:18 +00:00
};
}
};
</script>