83 lines
2.6 KiB
Vue
Executable File
83 lines
2.6 KiB
Vue
Executable File
<template>
|
|
<DocComponent
|
|
title="Vue SelectButton Component"
|
|
header="SelectButton"
|
|
description="Slider is a component to provide input with a drag handle."
|
|
:componentDocs="docs"
|
|
:apiDocs="['SelectButton']"
|
|
:ptTabComponent="ptComponent"
|
|
:themingDocs="themingDoc"
|
|
/>
|
|
</template>
|
|
|
|
<script>
|
|
import AccessibilityDoc from '@/doc/selectbutton/AccessibilityDoc';
|
|
import BasicDoc from '@/doc/selectbutton/BasicDoc';
|
|
import DisabledDoc from '@/doc/selectbutton/DisabledDoc';
|
|
import ImportDoc from '@/doc/selectbutton/ImportDoc';
|
|
import InvalidDoc from '@/doc/selectbutton/InvalidDoc';
|
|
import MultipleDoc from '@/doc/selectbutton/MultipleDoc';
|
|
import TemplateDoc from '@/doc/selectbutton/TemplateDoc';
|
|
import VeeValidateDoc from '@/doc/selectbutton/form/VeeValidateDoc';
|
|
import PTComponent from '@/doc/selectbutton/pt/index.vue';
|
|
import ThemingDoc from '@/doc/selectbutton/theming/index.vue';
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
docs: [
|
|
{
|
|
id: 'import',
|
|
label: 'Import',
|
|
component: ImportDoc
|
|
},
|
|
{
|
|
id: 'basic',
|
|
label: 'Basic',
|
|
component: BasicDoc
|
|
},
|
|
{
|
|
id: 'multiple',
|
|
label: 'Multiple',
|
|
component: MultipleDoc
|
|
},
|
|
{
|
|
id: 'template',
|
|
label: 'Template',
|
|
component: TemplateDoc
|
|
},
|
|
{
|
|
id: 'invalid',
|
|
label: 'Invalid',
|
|
component: InvalidDoc
|
|
},
|
|
{
|
|
id: 'disabled',
|
|
label: 'Disabled',
|
|
component: DisabledDoc
|
|
},
|
|
{
|
|
id: 'form',
|
|
label: 'Form',
|
|
description: 'Compatibility with popular Vue form libraries.',
|
|
children: [
|
|
{
|
|
id: 'veevalidate',
|
|
label: 'VeeValidate',
|
|
component: VeeValidateDoc
|
|
}
|
|
]
|
|
},
|
|
{
|
|
id: 'accessibility',
|
|
label: 'Accessibility',
|
|
component: AccessibilityDoc
|
|
}
|
|
],
|
|
ptComponent: PTComponent,
|
|
themingDoc: ThemingDoc
|
|
};
|
|
}
|
|
};
|
|
</script>
|