Best Practices for Animations #60978
Taigistal
started this conversation in
Interactivity API
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can think of two ways in which I can implement animations with the Interactivity API:
data-wp-class
directive and use CSS Transitions.data-wp-style
.The first is very flexible but limited in terms of animation options, for example if you want a spring animation.
I find the second one very inflexible and a lot of writing work.
So a few questions about animations I stumbled across:
Unfortunately, my understanding of how exactly the rendering works is probably too poor to figure out the answers myself.
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions