Skip to content

Commit 2f5f898

Browse files
muhammadawaisshaikhAndrewKushnir
authored andcommitted
docs(animations): update position parameter to be a decimal (#57927)
PR Close #57927
1 parent add84dd commit 2f5f898

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/animations/src/players/animation_player.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ export interface AnimationPlayer {
7575
reset(): void;
7676
/**
7777
* Sets the position of the animation.
78-
* @param position A 0-based offset into the duration, in milliseconds.
78+
* @param position A fractional value, representing the progress through the animation.
7979
*/
8080
setPosition(position: number): void;
8181
/**
8282
* Reports the current position of the animation.
83-
* @returns A 0-based offset into the duration, in milliseconds.
83+
* @returns A fractional value, representing the progress through the animation.
8484
*/
8585
getPosition(): number;
8686
/**

0 commit comments

Comments
 (0)