NoopAnimationPlayer

class experimental

npm Package @angular/animations
Module import { NoopAnimationPlayer } from '@angular/animations';
Source animations/src/players/animation_player.ts

Overview

class NoopAnimationPlayer implements AnimationPlayer {
  constructor()
  parentPlayer: AnimationPlayer | null
  totalTime: 0
  onStart(fn: () => void): void
  onDone(fn: () => void): void
  onDestroy(fn: () => void): void
  hasStarted(): boolean
  init(): void
  play(): void
  triggerMicrotask()
  pause(): void
  restart(): void
  finish(): void
  destroy(): void
  reset(): void
  setPosition(p: number): void
  getPosition(): number
  triggerCallback(phaseName: string): void
}

Subclasses

  • MockAnimationPlayer

Constructor

constructor()

Members

parentPlayer: AnimationPlayer | null

totalTime: 0

onStart(fn: () => void): void

onDone(fn: () => void): void

onDestroy(fn: () => void): void

hasStarted(): boolean

init(): void

play(): void

triggerMicrotask()

pause(): void

restart(): void

finish(): void

destroy(): void

reset(): void

setPosition(p: number): void

getPosition(): number

triggerCallback(phaseName: string): void

© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/animations/NoopAnimationPlayer