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.
API
class NoopAnimationPlayer implements AnimationPlayer {}
parentPlayer
AnimationPlayer | null
totalTime
number
onStart
void
@paramfn
() => void
@returns
void
onDone
void
@paramfn
() => void
@returns
void
onDestroy
void
@paramfn
() => void
@returns
void
hasStarted
boolean
@returns
boolean
init
void
@returns
void
play
void
@returns
void
pause
void
@returns
void
restart
void
@returns
void
finish
void
@returns
void
destroy
void
@returns
void
reset
void
@returns
void
setPosition
void
@paramposition
number
@returns
void
getPosition
number
@returns
number
Jump to details