Is it possible to set default options, that will be used in every instance?

Author: stefanobartolettiCreated Sep 25, 2024Updated Aug 8, 2025

Right now, unless I am not mistaken, if I want to set different defaults than those already built-in, I have to pass these values whenever a new instance is called.

In example, when using Vue, I have to do this:

xml
<!-- MyFirstComponent.vue -->
<ul v-auto-animate="{ duration: 500, easing: 'ease-out' }">
xml
<!-- MySecondComponent.vue -->
<div v-auto-animate="{ duration: 500, easing: 'ease-out' }">

Is there a way, currently, to set these values as new defaults to not have to do this every time I need to use the directive?

And if not, could this be considered for a future addition?

Thanks!