MDN self-hosted library · e01.org

AnimationPlaybackEvent

Web Animations

no runnable cells web-api-interface upstream source

Web Animations

The AnimationPlaybackEvent interface of the Web Animations API represents animation events.

As animations play, they report changes to their playState through animation events.

Constructor

  • AnimationPlaybackEvent()
  • : Constructs a new AnimationPlaybackEvent object instance.

Instance properties

  • AnimationPlaybackEvent.currentTime
  • : The current time of the animation that generated the event.
  • AnimationPlaybackEvent.timelineTime
  • : The time value of the timeline of the animation that generated the event.

Specifications

Browser compatibility

See also