Credit to devdocs.io

angular 2.0_typescript

angular

AnimationPlayer

Experimental Class

Class Overview

class AnimationPlayer {
  onDone(fn: () => void) : void
  onStart(fn: () => void) : void
  init() : void
  hasStarted() : boolean
  play() : void
  pause() : void
  restart() : void
  finish() : void
  destroy() : void
  reset() : void
  setPosition(p: any) : void
  getPosition() : number
  parentPlayer : AnimationPlayer
}

Class Description

Class Details

onDone(fn: () => void) : void
onStart(fn: () => void) : void
init() : void
hasStarted() : boolean
play() : void
pause() : void
restart() : void
finish() : void
destroy() : void
reset() : void
setPosition(p: any) : void
getPosition() : number
parentPlayer : AnimationPlayer

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

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