The AnimationPlaybackEvent interface of the Web Animations API represents animation events.
As animations play, they report changes to their playState through animation events.
AnimationPlaybackEvent()Constructs a new AnimationPlaybackEvent object instance.
AnimationPlaybackEvent.currentTime Read onlyThe current time of the animation that generated the event.
AnimationPlaybackEvent.timelineTime Read onlyThe time value of the timeline of the animation that generated the event.