angular / 12.2.13 / 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–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/platform-browser/animations/BrowserAnimationsModuleConfig