Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
This site is no longer updated.Head to Angular.devHome
/

This is the archived documentation for Angular v17. Please visit angular.dev to see this page for the current version of Angular.

@angular/platform-browser/animations

Provides infrastructure for the rendering of animations in supported browsers.

Entry point exports

NgModules

BrowserAnimationsModule

Exports BrowserModule with additional dependency-injection providers for use with animations. See Animations.

NoopAnimationsModule

A null player that must be imported to allow disabling of animations.

Functions

provideAnimations

Returns the set of dependency-injection providers to enable animations in an application. See animations guide to learn more about animations in Angular.

provideNoopAnimations

Returns the set of dependency-injection providers to disable animations in an application. See animations guide to learn more about animations in Angular.

Structures

BrowserAnimationsModuleConfig

Object used to configure the behavior of BrowserAnimationsModule

Types

ANIMATION_MODULE_TYPE

A DI token that indicates which animations module has been loaded.