Spec-Zone.ru › Angular 2

AnimationPlayer

Experimental Class

Обзор класса

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
}

Описание класса

Подробности класса

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

экспортировано из @angular/core/index, определено в @angular/core/src/animation/animation_player.ts

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API