@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="AnimationEvent")
public class AnimationEvent
extends Event
AT_TARGET, BUBBLING_PHASE, cancelBubble, CAPTURING_PHASE, NONE, returnValue| Constructor and Description |
|---|
AnimationEvent(java.lang.String type)
The AnimationEvent() constructor returns a newly created AnimationEvent, representing an event in relation with an animation.
|
AnimationEvent(java.lang.String type,
AnimationEventInit animationEventInitDict)
The AnimationEvent() constructor returns a newly created AnimationEvent, representing an event in relation with an animation.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
animationName()
The AnimationEvent.animationName read-only property is a DOMString containing the value of the animation-name CSS property associated with the transition.
|
double |
elapsedTime()
The AnimationEvent.elapsedTime read-only property is a float giving the amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused.
|
java.lang.String |
pseudoElement()
The AnimationEvent.pseudoElement read-only property is a DOMString, starting with '::', containing the name of the pseudo-element the animation runs on.
|
bubbles, cancelable, composed, composedPath, currentTarget, defaultPrevented, eventPhase, initEvent, initEvent, initEvent, isTrusted, preventDefault, srcElement, stopImmediatePropagation, stopPropagation, target, timeStamp, typeassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, is, isExtensible, isFrozen, isSealed, keys, preventExtensions, seal, setPrototypeOf, valueOf_, valuespublic AnimationEvent(@Nonnull
java.lang.String type,
@Nonnull
AnimationEventInit animationEventInitDict)
public AnimationEvent(@Nonnull
java.lang.String type)
@JsProperty(name="animationName") @Nonnull public java.lang.String animationName()
@JsProperty(name="elapsedTime") public double elapsedTime()
@JsProperty(name="pseudoElement") @Nonnull public java.lang.String pseudoElement()