angular / 5 / api / animations / animationstylemetadata.html

AnimationStyleMetadata

interface experimental

Interface Overview

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

Description

Metadata representing the entry of animations. Instances of this interface are provided via the animation DSL when the style animation function is called.

Members

styles: '*' | { [key: string]: string | number; } | Array<{ [key: string]: string | number; } | '*'>

offset: number | null

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