Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use presets animations on variants (eg. :tapped) #101

Open
lerayj opened this issue Feb 8, 2023 · 0 comments
Open

Use presets animations on variants (eg. :tapped) #101

lerayj opened this issue Feb 8, 2023 · 0 comments

Comments

@lerayj
Copy link

lerayj commented Feb 8, 2023

Would be super nice to be able to use for instance: v-motion-roll-top on variants event like tapped, hover, ...

It looks like for now preset can only be use for initial / visible, but not on hover, tapped.
Maybe I'm missing something ?

Suggestions:

Could be something like :

<div v-motion :tapped="roll-top" :initial="fade" />

or:

<div v-motion-roll-top tapped initial /> // if you can choose any events when the motion is triggered

Cherry on the cake would be then to be able to specify delay for each:

<div v-motion-roll-top :tapped="{delay:300}" initial={delay:100} />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant