docs(animations): update position parameter to be a decimal (#57927)

PR Close #57927
This commit is contained in:
Muhammad Awais
2024-09-23 20:34:25 +05:00
committed by Andrew Kushnir
parent add84dd803
commit 2f5f898d21
@@ -75,12 +75,12 @@ export interface AnimationPlayer {
reset(): void;
/**
* Sets the position of the animation.
* @param position A 0-based offset into the duration, in milliseconds.
* @param position A fractional value, representing the progress through the animation.
*/
setPosition(position: number): void;
/**
* Reports the current position of the animation.
* @returns A 0-based offset into the duration, in milliseconds.
* @returns A fractional value, representing the progress through the animation.
*/
getPosition(): number;
/**