Replies: 1 comment 7 replies
-
At the start I thought why to split out them if we can pass a flag but now, I think it is not a bad idea. I have a few doubts...
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While pondering the similarities between #175/#180 and #207 (and even #203), it occurred to me that maybe we should split some of these animations into more discrete parts, and then offer some wrappers that can combine animations.
For example:
The benefit of this approach is even more flexibility and customization opportunities. For example, instead of offering a
rotateOut
property that short-circuits the rotation, the user can simply use the RotateIn animation. Also, imagine combining the ScaleIn and FadeOut for a unique effect.There is likely room to grow a set of combiners that offer even more unique functionality, like delays, pauses, maybe even running animations at the same time (would that solve #191?).
Beta Was this translation helpful? Give feedback.
All reactions