2023-10-13 10:28:54 +00:00
|
|
|
<template>
|
2023-10-24 13:45:38 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue AnimateOnScroll Directive"
|
2023-10-24 16:15:58 +00:00
|
|
|
header="AnimateOnScroll"
|
2023-10-25 04:01:16 +00:00
|
|
|
description="AnimateOnScroll is used to apply animations to elements when entering or leaving the viewport during scrolling."
|
2023-10-24 13:45:38 +00:00
|
|
|
:componentDocs="docs"
|
2023-10-24 13:57:49 +00:00
|
|
|
:apiDocs="['AnimateOnScroll']"
|
2023-10-24 13:45:38 +00:00
|
|
|
/>
|
2023-10-13 10:28:54 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-10-24 14:06:17 +00:00
|
|
|
import AccessibilityDoc from '@/doc/animateonscroll/AccessibilityDoc.vue';
|
2023-10-24 13:45:38 +00:00
|
|
|
import BasicDoc from '@/doc/animateonscroll/BasicDoc.vue';
|
|
|
|
import ImportDoc from '@/doc/animateonscroll/ImportDoc.vue';
|
2023-10-13 10:28:54 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
docs: [
|
|
|
|
{
|
|
|
|
id: 'import',
|
|
|
|
label: 'Import',
|
|
|
|
component: ImportDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'basic',
|
|
|
|
label: 'Basic',
|
|
|
|
component: BasicDoc
|
2023-10-24 14:06:17 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'accessibility',
|
|
|
|
label: 'Accessibility',
|
|
|
|
component: AccessibilityDoc
|
2023-10-13 10:28:54 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|