Skip to content

useAos ​

Vue composable for handling aos plugin in your components

WARNING

You must install the aos plugin before you start using it

TIP

More info about the aos plugin can be found in its documentation

Usage ​

vue
<script lang="ts" setup>
import { useAos } from 'maz-ui/composables'

const aos = useAos()

onMounted(() => {
  aos.runAnimations()
})
</script>

<template>
  <img data-maz-aos="scale-in">
</template>