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

52 lines
1.5 KiB
Vue
Raw Permalink Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-04-21 13:43:12 +00:00
<DocComponent
title="Vue ScrollTop Component"
header="ScrollTop"
description="ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly."
:componentDocs="docs"
:apiDocs="['ScrollTop']"
:ptTabComponent="ptComponent"
2023-08-02 10:28:16 +00:00
:themingDocs="themingDoc"
2023-04-21 13:43:12 +00:00
/>
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-09-21 11:21:43 +00:00
import AccessibilityDoc from '@/doc/scrolltop/AccessibilityDoc.vue';
import BasicDoc from '@/doc/scrolltop/BasicDoc.vue';
import ElementDoc from '@/doc/scrolltop/ElementDoc.vue';
import ImportDoc from '@/doc/scrolltop/ImportDoc.vue';
2023-04-21 13:43:12 +00:00
import PTComponent from '@/doc/scrolltop/pt/index.vue';
2023-08-02 10:28:16 +00:00
import ThemingDoc from '@/doc/scrolltop/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: 'basic',
label: 'Basic',
component: BasicDoc
},
{
id: 'element',
label: 'Element',
component: ElementDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-04-21 13:43:12 +00:00
],
2023-08-02 10:28:16 +00:00
ptComponent: PTComponent,
themingDoc: ThemingDoc
2023-02-28 08:29:30 +00:00
};
2022-09-09 20:41:18 +00:00
}
};
</script>