AnimationEvent
Module: JavaScript DOM API
#include <AnimationEvent.idl>
Inherits from Event
Public Functions
Name | |
---|---|
AnimationEvent | AnimationEvent(DOMInternedString type, optional AnimationEventInit eventInitDict) |
Public Attributes
Name | |
---|---|
readonly attribute DomString | animationName |
readonly attribute double | elapsedTime |
readonly attribute DomString | pseudoElement |
Additional inherited members
Public Functions inherited from Event
Name | |
---|---|
Event | Event(DOMInternedString type, optional EventInit initEvent) |
void | stopPropagation() |
void | preventDefault() |
void | initEvent(optional DOMInternedString eventTypeArg, optional boolean canBubbleArg, optional boolean cancelableArg) |
void | stopImmediatePropagation() |
Public Attributes inherited from Event
Name | |
---|---|
const unsigned short | NONE |
const unsigned short | CAPTURING_PHASE |
const unsigned short | AT_TARGET |
const unsigned short | BUBBLING_PHASE |
readonly attribute DOMString | type |
readonly attribute EventTarget | target |
readonly attribute EventTarget | currentTarget |
readonly attribute unsigned short | eventPhase |
readonly attribute boolean | bubbles |
readonly attribute boolean | cancelable |
readonly attribute boolean | defaultPrevented |
Public Functions Documentation
function AnimationEvent
AnimationEvent AnimationEvent(
DOMInternedString type,
optional AnimationEventInit eventInitDict
)
Public Attributes Documentation
variable animationName
readonly attribute DomString animationName;
variable elapsedTime
readonly attribute double elapsedTime;
variable pseudoElement
readonly attribute DomString pseudoElement;