refactor(animations): add an onStart handler for AnimationPlayer (#10360)

This commit is contained in:
Matias Niemelä
2016-08-22 16:39:52 -07:00
committed by Kara
parent 23a27776e2
commit 3c561475c8
10 changed files with 114 additions and 28 deletions

View File

@ -69,7 +69,8 @@ export declare abstract class AnimationPlayer {
abstract getPosition(): number;
abstract hasStarted(): boolean;
abstract init(): void;
abstract onDone(fn: Function): void;
abstract onDone(fn: () => void): void;
abstract onStart(fn: () => void): void;
abstract pause(): void;
abstract play(): void;
abstract reset(): void;