This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

AnimationEvent: elapsedTime 속성

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨2015년 9월⁩.

AnimationEvent.elapsedTime 읽기 전용 속성은 이벤트가 발생한 시점까지 애니메이션이 재생된 총 시간을 나타내는 float 값입니다. 초 단위며, 애니메이션이 일시정지된 시간은 제외합니다. animationstart 이벤트의 elapsedTimeanimation-delay의 값이 음수인 경우에만 (-1 * delay)가 되고, 그 외에는 0.0입니다.