WebIDLpedia

AnimationEvent interface

Definition

CSS Animations Module Level 1 defines AnimationEvent

[Exposed=Window]
interface AnimationEvent : Event {
  constructor(CSSOMString type, optional AnimationEventInit animationEventInitDict = {});
  readonly attribute CSSOMString animationName;
  readonly attribute double elapsedTime;
  readonly attribute CSSOMString pseudoElement;
};

This interface is extended in the following specifications:

Consolidated IDL (across mixin and partials)
[Exposed=Window]
interface AnimationEvent : Event {
  constructor(CSSOMString type, optional AnimationEventInit animationEventInitDict = {});
  readonly attribute CSSOMString animationName;
  readonly attribute double elapsedTime;
  readonly attribute CSSOMString pseudoElement;
  readonly attribute CSSAnimation? animation;
};

Methods and attributes that return objects implementing AnimationEvent

Referring specifications