feat(animations): add support for disabling animations through BrowserAnimationsModule.withConfig by crisbeto · Pull Request #40731 · angular/angular
crisbeto
marked this pull request as ready for review
crisbeto
changed the title
feat(animations): add support for disabling animations through BrowserAnimationsModule.forRoot
feat(animations): add support for disabling animations through BrowserAnimationsModule.withConfig
…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, 2021This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters