• Overview
@angular/animations

NoopAnimationPlayer

Class

An empty programmatic controller for reusable animations. Used internally when animations are disabled, to avoid checking for the null case when an animation player is expected.

  
    class NoopAnimationPlayer implements AnimationPlayer {}
  
  

parentPlayer

totalTime

number

onStart

void
@paramfn() => void
@returnsvoid

onDone

void
@paramfn() => void
@returnsvoid

onDestroy

void
@paramfn() => void
@returnsvoid

hasStarted

boolean
@returnsboolean

init

void
@returnsvoid

play

void
@returnsvoid

pause

void
@returnsvoid

restart

void
@returnsvoid

finish

void
@returnsvoid

destroy

void
@returnsvoid

reset

void
@returnsvoid

setPosition

void
@parampositionnumber
@returnsvoid

getPosition

number
@returnsnumber
Jump to details