• Overview
@angular/platform-browser/animations

BrowserAnimationsModuleConfig

interface
deprecatedsince v20.2

Object used to configure the behavior of BrowserAnimationsModule

Deprecation warning

Use animate.enter or animate.leave instead. Intent to remove in v23

API

    
      interface BrowserAnimationsModuleConfig {}
    
    

disableAnimations

boolean | undefined

Whether animations should be disabled. Passing this is identical to providing the NoopAnimationsModule, but it can be controlled based on a runtime value.

Jump to details