BrowserAnimationsModule
NgModule
사용 중단 권고v20.2부터
Exports BrowserModule with additional dependency-injection providers
for use with animations. See Animations.
사용 중단을 권고합니다.
withConfig
ModuleWithProviders<BrowserAnimationsModule>Configures the module based on the specified object.
@paramconfig
BrowserAnimationsModuleConfigObject used to configure the behavior of the BrowserAnimationsModule.
사용 시 참고사항
When registering the BrowserAnimationsModule, you can use the withConfig
function as follows:
@NgModule({
imports: [BrowserAnimationsModule.withConfig(config)]
})
class MyNgModule {}
상세 내용으로 이동