From 2f5f898d21c91679dc22a67c6d25f873217adff5 Mon Sep 17 00:00:00 2001 From: Muhammad Awais Date: Mon, 23 Sep 2024 20:34:25 +0500 Subject: [PATCH] docs(animations): update position parameter to be a decimal (#57927) PR Close #57927 --- packages/animations/src/players/animation_player.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/animations/src/players/animation_player.ts b/packages/animations/src/players/animation_player.ts index 82bd88c5bdc..c0705edb401 100644 --- a/packages/animations/src/players/animation_player.ts +++ b/packages/animations/src/players/animation_player.ts @@ -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; /**