2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-02-28 08:29:30 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue Deferred Content Component"
|
|
|
|
header="DeferredContent"
|
|
|
|
description="DeferredContent postpones the loading the content that is initially not in the viewport until it becomes visible on scroll."
|
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['DeferredContent']"
|
2023-04-10 11:56:07 +00:00
|
|
|
:ptTabComponent="ptComponent"
|
2023-02-28 08:29:30 +00:00
|
|
|
/>
|
2022-09-09 20:41:18 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-02-28 08:29:30 +00:00
|
|
|
import AccessibilityDoc from '@/doc/deferredcontent/AccessibilityDoc.vue';
|
|
|
|
import BasicDoc from '@/doc/deferredcontent/BasicDoc.vue';
|
|
|
|
import DataTableDoc from '@/doc/deferredcontent/DataTableDoc.vue';
|
|
|
|
import ImportDoc from '@/doc/deferredcontent/ImportDoc.vue';
|
|
|
|
import StyleDoc from '@/doc/deferredcontent/StyleDoc.vue';
|
2023-04-10 11:56:07 +00:00
|
|
|
import PTComponent from '@/doc/deferredcontent/pt/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: 'datatable',
|
|
|
|
label: 'DataTable',
|
|
|
|
component: DataTableDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'style',
|
|
|
|
label: 'Style',
|
|
|
|
component: StyleDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'accessibility',
|
|
|
|
label: 'Accessibility',
|
|
|
|
component: AccessibilityDoc
|
|
|
|
}
|
2023-04-10 11:56:07 +00:00
|
|
|
],
|
|
|
|
ptComponent: PTComponent
|
2022-09-09 20:41:18 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|