2022-09-09 20:41:18 +00:00
< template >
2023-02-28 08:29:30 +00:00
< DocComponent title = "Vue Select Component" header = "Dropdown" description = "Dropdown also known as Select, is used to choose an item from a collection of options." :componentDocs ="docs" :apiDocs ="['Dropdown']" / >
2022-09-09 20:41:18 +00:00
< / template >
< script >
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/dropdown/AccessibilityDoc' ;
import BasicDoc from '@/doc/dropdown/BasicDoc' ;
import ClearIconDoc from '@/doc/dropdown/ClearIconDoc' ;
import DisabledDoc from '@/doc/dropdown/DisabledDoc' ;
import EditableDoc from '@/doc/dropdown/EditableDoc' ;
import FilterDoc from '@/doc/dropdown/FilterDoc' ;
import FloatLabelDoc from '@/doc/dropdown/FloatLabelDoc' ;
2023-03-16 12:57:15 +00:00
import VeeValidateDoc from '@/doc/dropdown/form/VeeValidateDoc' ;
2023-02-28 08:29:30 +00:00
import GroupDoc from '@/doc/dropdown/GroupDoc' ;
import ImportDoc from '@/doc/dropdown/ImportDoc' ;
import InvalidDoc from '@/doc/dropdown/InvalidDoc' ;
import LazyVirtualScrollDoc from '@/doc/dropdown/LazyVirtualScrollDoc' ;
import LoadingStateDoc from '@/doc/dropdown/LoadingStateDoc' ;
import StyleDoc from '@/doc/dropdown/StyleDoc' ;
import TemplateDoc from '@/doc/dropdown/TemplateDoc' ;
import VirtualScrollDoc from '@/doc/dropdown/VirtualScrollDoc' ;
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 : 'editable' ,
label : 'Editable' ,
component : EditableDoc
} ,
{
id : 'group' ,
label : 'Group' ,
component : GroupDoc
} ,
{
id : 'template' ,
label : 'Template' ,
component : TemplateDoc
} ,
{
id : 'filter' ,
label : 'Filter' ,
component : FilterDoc
} ,
2022-09-09 20:41:18 +00:00
{
2023-02-28 08:29:30 +00:00
id : 'clearicon' ,
label : 'Clear Icon' ,
component : ClearIconDoc
2022-09-09 20:41:18 +00:00
} ,
{
2023-02-28 08:29:30 +00:00
id : 'loadingstate' ,
label : 'Loading State' ,
component : LoadingStateDoc
2022-09-09 20:41:18 +00:00
} ,
{
2023-02-28 08:29:30 +00:00
id : 'virtualscroll' ,
label : 'Virtual Scroll' ,
component : VirtualScrollDoc
} ,
{
id : 'lazyvirtualscroll' ,
label : 'Lazy Virtual Scroll' ,
component : LazyVirtualScrollDoc
} ,
{
id : 'floatlabel' ,
label : 'Float Label' ,
component : FloatLabelDoc
} ,
{
id : 'invalid' ,
label : 'Invalid' ,
component : InvalidDoc
} ,
{
id : 'disabled' ,
label : 'Disabled' ,
component : DisabledDoc
} ,
2023-03-16 12:57:15 +00:00
{
id : 'form' ,
label : 'Form' ,
description : 'Compatibility with popular Vue form libraries.' ,
children : [
{
id : 'veevalidate' ,
label : 'VeeValidate' ,
component : VeeValidateDoc
}
]
} ,
2023-02-28 08:29:30 +00:00
{
id : 'style' ,
label : 'Style' ,
component : StyleDoc
} ,
{
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 >