BrowserAnimationsModule
NgModule
Exports BrowserModule
with additional dependency-injection providers
for use with animations. See Animations.
API
class BrowserAnimationsModule {}
withConfig
Configures the module based on the specified object.
@paramconfig
BrowserAnimationsModuleConfig
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