NoopAnimationPlayer

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部