<1 min read
NoAnimation
NoAnimation
Component to be used as default for animation props together with dynamic components
<component :is="animation"> in the template.
Examples
The NoAnimation component is intended to be used as the default for animation props together with dynamic components, for example:
Basic example using dynamic component
<template>
<component :is="animation">
<div>Content without animation</div>
</component>
</template>
<script setup>
import NoAnimation from '@empathyco/x-components/js/components/animations/no-animation.vue'
const animation = NoAnimation
</script>