W3cubDocs

/Angular 4 TypeScript

NoopAnimationPlayer

Experimental Class

Class Overview

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

Class Description

Constructor

constructor()

Class Details

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

exported from animations/index, defined in animations/src/players/animation_player.ts

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