AnimationTimeline

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The AnimationTimeline interface of the Web Animations API (en-US) represents the timeline of an animation. This interface exists to define timeline features (inherited by DocumentTimeline (en-US) and future timeline types) and is not itself directly used by developers. Anywhere you see AnimationTimeline, you should use DocumentTimeline or any other timeline type instead.

Properties

AnimationTimeline.currentTime 읽기 전용

Returns the time value in milliseconds for this timeline or null if this timeline is inactive.

명세서

Specification
Web Animations
# the-animationtimeline-interface

브라우저 호환성

BCD tables only load in the browser

See also