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

64 lines
1.9 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent
title="Vue Splitter Component"
header="Splitter"
description="Splitter is utilized to separate and resize panels."
:componentDocs="docs"
:apiDocs="['Splitter', 'SplitterPanel']"
: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/splitter/AccessibilityDoc.vue';
2023-02-28 08:29:30 +00:00
import HorizontalDoc from '@/doc/splitter/HorizontalDoc.vue';
2023-09-21 11:21:43 +00:00
import ImportDoc from '@/doc/splitter/ImportDoc.vue';
2023-02-28 08:29:30 +00:00
import NestedDoc from '@/doc/splitter/NestedDoc.vue';
import SizeDoc from '@/doc/splitter/SizeDoc.vue';
import VerticalDoc from '@/doc/splitter/VerticalDoc.vue';
2023-04-10 14:01:21 +00:00
import PTComponent from '@/doc/splitter/pt/index.vue';
2023-08-01 13:00:18 +00:00
import ThemingDoc from '@/doc/splitter/theming/index.vue';
2022-09-09 20:41:18 +00:00
export default {
2023-02-28 08:29:30 +00:00
data() {
return {
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'horizontal',
label: 'Horizontal',
component: HorizontalDoc
},
{
id: 'size',
label: 'Size',
component: SizeDoc
},
{
id: 'vertical',
label: 'Vertical',
component: VerticalDoc
},
{
id: 'nested',
label: 'Nested',
component: NestedDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-04-10 14:01:21 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2023-02-28 08:29:30 +00:00
};
2022-09-09 20:41:18 +00:00
}
};
</script>