primevue-mirror/apps/showcase/doc/animateonscroll/ImportDoc.vue

21 lines
395 B
Vue
Raw Permalink Normal View History

<template>
<DocSectionText v-bind="$attrs" />
2024-01-30 08:16:35 +00:00
<DocSectionCode :code="code" hideToggleCode importCode hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
basic: `
2023-10-24 13:45:38 +00:00
import AnimateOnScroll from 'primevue/animateonscroll';
2024-01-30 08:16:35 +00:00
2023-10-24 13:45:38 +00:00
app.directive('animateonscroll', AnimateOnScroll);
`
}
};
}
};
</script>