function
developer preview
Returns the set of dependency-injection providers to disable animations in an application. See animations guide to learn more about animations in Angular.
The function is useful when you want to bootstrap an application using the bootstrapApplication
function, but you need to disable animations (for example, when running tests).
bootstrapApplication(RootComponent, { providers: [ provideNoopAnimations() ] });
© 2010–2022 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/platform-browser/animations/provideNoopAnimations