Possible to provide option for animation when changing CSS classes? #4275
labo-China
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Textual will apply animations when scrolling, which is very convenient and beautiful.
But there is no option to animate when changing CSS classes.
That is to say, I have to manually write animations for every attributes, which may cause unnecessary work and complexity.
In my view, there are several ways to tackle with it:
widget.styles.update_batch(**styles)
)I will be glad if you guys think it is helpful!
Beta Was this translation helpful? Give feedback.
All reactions