50 lines
1.5 KiB
Vue
Executable File
50 lines
1.5 KiB
Vue
Executable File
<template>
|
|
<DocComponent title="Vue Panel Component" header="Panel" description="Panel is a grouping component providing with content toggle feature." :componentDocs="docs" :apiDocs="['Panel']" />
|
|
</template>
|
|
<script>
|
|
import AccessibilityDoc from '@/doc/panel/AccessibilityDoc.vue';
|
|
import BasicDoc from '@/doc/panel/BasicDoc.vue';
|
|
import ImportDoc from '@/doc/panel/ImportDoc.vue';
|
|
import StyleDoc from '@/doc/panel/StyleDoc.vue';
|
|
import TemplateDoc from '@/doc/panel/TemplateDoc.vue';
|
|
import ToggleableDoc from '@/doc/panel/ToggleableDoc.vue';
|
|
export default {
|
|
data() {
|
|
return {
|
|
docs: [
|
|
{
|
|
id: 'import',
|
|
label: 'Import',
|
|
component: ImportDoc
|
|
},
|
|
{
|
|
id: 'basic',
|
|
label: 'Basic',
|
|
component: BasicDoc
|
|
},
|
|
{
|
|
id: 'toggleable',
|
|
label: 'Toggleable',
|
|
component: ToggleableDoc
|
|
},
|
|
{
|
|
id: 'template',
|
|
label: 'Template',
|
|
component: TemplateDoc
|
|
},
|
|
{
|
|
id: 'style',
|
|
label: 'Style',
|
|
component: StyleDoc
|
|
},
|
|
{
|
|
id: 'accessibility',
|
|
label: 'Accessibility',
|
|
component: AccessibilityDoc
|
|
}
|
|
]
|
|
};
|
|
}
|
|
};
|
|
</script>
|