• Overview
@angular/platform-browser/animations

BrowserAnimationsModule

NgModule

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

Configures the module based on the specified object.

@paramconfigBrowserAnimationsModuleConfig

Object used to configure the behavior of the BrowserAnimationsModule.

Usage notes

When registering the BrowserAnimationsModule, you can use the withConfig function as follows:

          
@NgModule({  imports: [BrowserAnimationsModule.withConfig(config)]})class MyNgModule {}
Jump to details