getCurrentAnimationProgress

external fun getCurrentAnimationProgress(element: HTMLElement): Double

Returns the overall progress (0–1) of the current animation on the element, computed as currentTime / duration. Returns 0 when no animation is running.