linkNoopAnimationPlayer
npm Package | @angular/animations |
---|---|
Module | import { NoopAnimationPlayer } from '@angular/animations'; |
Source | animations/src/players/animation_player.ts |
linkOverview
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
}
linkSubclasses
linkConstructor
linkMembers
parentPlayer: AnimationPlayer | null