I want to disable all the animations to the Angular Material 2, but when I import the NoopAnimationsModule
it also prevents me for using the Angular Animation module in the rest of my app code.
I'd like to be able to animate certain things of my app, but disable the animation for Angular Material 2.
Does anyone know how to do that?
Edit: I want to disable all the animations but the ripple effect.
Some of the material components provide api to disable ripple effect. As far as I know, it's not possible to completely turn off animation for material2.
disableRipple
property is available for
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With