Skip to content
SiteEmail

AnimationEvent

Module: JavaScript DOM API

#include <AnimationEvent.idl>

Inherits from Event

Name
AnimationEventAnimationEvent(DOMInternedString type, optional AnimationEventInit eventInitDict)
Name
readonly attribute DomStringanimationName
readonly attribute doubleelapsedTime
readonly attribute DomStringpseudoElement

Public Functions inherited from Event

Name
EventEvent(DOMInternedString type, optional EventInit initEvent)
voidstopPropagation()
voidpreventDefault()
voidinitEvent(optional DOMInternedString eventTypeArg, optional boolean canBubbleArg, optional boolean cancelableArg)
voidstopImmediatePropagation()

Public Attributes inherited from Event

Name
const unsigned shortNONE
const unsigned shortCAPTURING_PHASE
const unsigned shortAT_TARGET
const unsigned shortBUBBLING_PHASE
readonly attribute DOMStringtype
readonly attribute EventTargettarget
readonly attribute EventTargetcurrentTarget
readonly attribute unsigned shorteventPhase
readonly attribute booleanbubbles
readonly attribute booleancancelable
readonly attribute booleandefaultPrevented
readonly attribute booleancomposed
AnimationEvent AnimationEvent(
DOMInternedString type,
optional AnimationEventInit eventInitDict
)
readonly attribute DomString animationName;
readonly attribute double elapsedTime;
readonly attribute DomString pseudoElement;