-
Hi! There is 2 questios
|
Beta Was this translation helpful? Give feedback.
Answered by
waterplea
Dec 26, 2024
Replies: 1 comment
-
You can disable animation across all app by providing Targeting a particular element is a bit trickier, because some animations use CSS, some use Angular Animations. To disable CSS animations set |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
waterplea
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can disable animation across all app by providing
TUI_ANIMATIONS_SPEED
as0
orTUI_REDUCED_MOTION
astrue
. Animations are also automatically disabled when user has reduced animations set as OS preference.Targeting a particular element is a bit trickier, because some animations use CSS, some use Angular Animations. To disable CSS animations set
--tui-duration
CSS variable as 0. To disable Angular Animations provideTUI_ANIMATIONS_SPEED
as0
for that particular component.