parent
005dc8f68b
commit
e3518967ad
|
@ -26,7 +26,7 @@ export interface AnimationPlayer {
|
|||
finish(): void;
|
||||
destroy(): void;
|
||||
reset(): void;
|
||||
setPosition(p: any /** TODO #9100 */): void;
|
||||
setPosition(position: number): void;
|
||||
getPosition(): number;
|
||||
parentPlayer: AnimationPlayer|null;
|
||||
readonly totalTime: number;
|
||||
|
@ -93,7 +93,7 @@ export class NoopAnimationPlayer implements AnimationPlayer {
|
|||
}
|
||||
}
|
||||
reset(): void {}
|
||||
setPosition(p: number): void {}
|
||||
setPosition(position: number): void {}
|
||||
getPosition(): number { return 0; }
|
||||
|
||||
/* @internal */
|
||||
|
|
|
@ -115,7 +115,7 @@ export interface AnimationPlayer {
|
|||
play(): void;
|
||||
reset(): void;
|
||||
restart(): void;
|
||||
setPosition(p: any): void;
|
||||
setPosition(position: number): void;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
|
@ -216,7 +216,7 @@ export declare class NoopAnimationPlayer implements AnimationPlayer {
|
|||
play(): void;
|
||||
reset(): void;
|
||||
restart(): void;
|
||||
setPosition(p: number): void;
|
||||
setPosition(position: number): void;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
|
|
Loading…
Reference in New Issue