AnimationKeyframe

Experimental Class

Class Overview

class AnimationKeyframe {
  constructor(offset: number, styles: AnimationStyles)
  
  
  offset : number
  styles : AnimationStyles
}

Class Description

AnimationKeyframe consists of a series of styles (contained within AnimationStyles) and an offset value indicating when those styles are applied within the duration/delay/easing timings. AnimationKeyframe is mostly an internal class which is designed to be used alongside Renderer.animate.

Constructor

constructor(offset: number, styles: AnimationStyles)

Class Details

offset : number
styles : AnimationStyles

exported from @angular/core/index, defined in @angular/core/src/animation/animation_keyframe.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/core/index/AnimationKeyframe-class.html