auto-animate icon indicating copy to clipboard operation
auto-animate copied to clipboard

Is it possible to disable in Nuxt?

Open dietler opened this issue 1 year ago • 1 comments

Following the logic to change the duration I tried both: v-auto-animate="{ duration: 100, enable: false }" and v-auto-animate="{ duration: 100, disable: true }" but neither of those seem to work.

I am trying to programmatically disable the auto-animate at the start of a certain function on the page and then re-enable it once that function runs. If passing in the attribute enable or disable isn't possible, is there another way to do this in Nuxt without falling back to the Vue package and using a plugin to have more control?

dietler avatar Oct 19 '23 19:10 dietler

You cannot enable/disable animations this way (you can change the duration though).

To get the animation controller use the composable rather than the directive 👍

justin-schroeder avatar Oct 19 '23 19:10 justin-schroeder