feat(animations): add support for disabling animations through BrowserAnimationsModule.withConfig by crisbeto · Pull Request #40731 · angular/angular

@crisbeto crisbeto marked this pull request as ready for review

February 6, 2021 13:49

JoostK

AndrewKushnir

@crisbeto crisbeto changed the title feat(animations): add support for disabling animations through BrowserAnimationsModule.forRoot feat(animations): add support for disabling animations through BrowserAnimationsModule.withConfig

Feb 21, 2021

AndrewKushnir

@crisbeto

…rAnimationsModule.withConfig

Currently the only way to disable animations is by providing the `NoopAnimationsModule`
which doesn't allow for it to be disabled based on runtime information. These changes
add support for disabling animations based on runtime information by using
`BrowserAnimationsModule.withConfig({disableAnimations: true})`.

This was referenced

Mar 15, 2021