BrowserAnimationsModule
From Get docs
< @angular/platform-browser | animationsAngular/docs/latest/api/platform-browser/animations/browseranimationsmodule
BrowserAnimationsModule
ngmodule
Exports BrowserModule
with additional dependency-injection providers for use with animations. See Animations.
class BrowserAnimationsModule {
static withConfig(config: BrowserAnimationsModuleConfig): ModuleWithProviders<BrowserAnimationsModule>
}
Static methods
withConfig() | |||
---|---|---|---|
Configures the module based on the specified object. See also:
| |||
static withConfig(config: BrowserAnimationsModuleConfig): ModuleWithProviders<BrowserAnimationsModule>Parameters
Returns
| |||
Usage NotesWhen registering the
|
Providers
Provider |
---|
|
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/platform-browser/animations/BrowserAnimationsModule