mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(animations): update position parameter to be a decimal (#57927)
PR Close #57927
This commit is contained in:
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;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user