2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-05-05 06:41:49 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue Virtual Scroller Component"
|
|
|
|
header="VirtualScroller"
|
|
|
|
description="VirtualScroller is a performant approach to render large amounts of data efficiently."
|
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['VirtualScroller']"
|
|
|
|
:ptTabComponent="ptComponent"
|
2023-08-04 11:39:10 +00:00
|
|
|
:themingDocs="themingDoc"
|
2023-05-05 06:41:49 +00:00
|
|
|
/>
|
2022-09-09 20:41:18 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-09-21 11:21:43 +00:00
|
|
|
import AccessibilityDoc from '@/doc/virtualscroller/AccessibilityDoc.vue';
|
|
|
|
import BasicDoc from '@/doc/virtualscroller/BasicDoc.vue';
|
|
|
|
import DelayDoc from '@/doc/virtualscroller/DelayDoc.vue';
|
|
|
|
import GridDoc from '@/doc/virtualscroller/GridDoc.vue';
|
|
|
|
import HorizontalDoc from '@/doc/virtualscroller/HorizontalDoc.vue';
|
|
|
|
import ImportDoc from '@/doc/virtualscroller/ImportDoc.vue';
|
|
|
|
import LazyDoc from '@/doc/virtualscroller/LazyDoc.vue';
|
|
|
|
import LoadingDoc from '@/doc/virtualscroller/LoadingDoc.vue';
|
2023-05-05 06:41:49 +00:00
|
|
|
import PTComponent from '@/doc/virtualscroller/pt/index.vue';
|
2023-08-04 11:39:10 +00:00
|
|
|
import ThemingDoc from '@/doc/virtualscroller/theming/index.vue';
|
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: 'horizontal',
|
|
|
|
label: 'Horizontal',
|
|
|
|
component: HorizontalDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'grid',
|
|
|
|
label: 'Grid',
|
|
|
|
component: GridDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'delay',
|
|
|
|
label: 'Delay',
|
|
|
|
component: DelayDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'loading',
|
|
|
|
label: 'Loading',
|
|
|
|
component: LoadingDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'lazy',
|
|
|
|
label: 'Lazy',
|
|
|
|
component: LazyDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'accessibility',
|
|
|
|
label: 'Accessibility',
|
|
|
|
component: AccessibilityDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
}
|
2023-05-05 06:41:49 +00:00
|
|
|
],
|
2023-08-04 11:39:10 +00:00
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
2023-02-28 08:29:30 +00:00
|
|
|
};
|
2022-09-09 20:41:18 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|