AnimationStyleMetadata

From Get docs
< @angular/animationsAngular/docs/8/api/animations/animationstylemetadata


AnimationStyleMetadata

interface

Encapsulates an animation style. Instantiated and returned by the style() function.

interface AnimationStyleMetadata extends AnimationMetadata {
  styles: '*' | {...}
  offset: number | null

  // inherited from animations/AnimationMetadata
  type: AnimationMetadataType
}

Properties

Property Description
{ [key: string]: string | number; } | Array<{ [key: string]: string | number; } | '*'> A set of CSS style properties.
null A percentage of the total animate time at which the style is to be applied.


© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v8.angular.io/api/animations/AnimationStyleMetadata