primevue-mirror/pages/scrolltop/index.vue

46 lines
1.4 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-02-28 08:29:30 +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']" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/scrolltop/AccessibilityDoc';
import BasicDoc from '@/doc/scrolltop/BasicDoc';
import ElementDoc from '@/doc/scrolltop/ElementDoc';
import ImportDoc from '@/doc/scrolltop/ImportDoc';
import StyleDoc from '@/doc/scrolltop/StyleDoc';
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: 'style',
label: 'Style',
component: StyleDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
]
};
2022-09-09 20:41:18 +00:00
}
};
</script>