angular / 14.0.0 / api / platform-browser / animations / browseranimationsmoduleconfig.html /

BrowserAnimationsModuleConfig

interface

Object used to configure the behavior of BrowserAnimationsModule

interface BrowserAnimationsModuleConfig {
  disableAnimations?: boolean
}

Properties

Property Description
disableAnimations?: boolean

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

© 2010–2022 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/platform-browser/animations/BrowserAnimationsModuleConfig