@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="KeyframeEffect")
public class KeyframeEffect
extends AnimationEffect
| Modifier and Type | Field and Description |
|---|---|
@JsNonNull java.lang.String |
composite
The composite property of a KeyframeEffect resolves how an element's animation impacts its underlying property values.
|
@JsNullable java.lang.String |
pseudoElement |
@JsNullable Element |
target
The target property of a KeyframeEffect interface represents the element or pseudo-element being animated.
|
| Constructor and Description |
|---|
KeyframeEffect(Element target,
JsObject keyframes)
The KeyframeEffect() constructor of the Web Animations API returns a new KeyframeEffect object instance, and also allows you to clone an existing keyframe effect object instance.
|
KeyframeEffect(Element target,
JsObject keyframes,
double options)
The KeyframeEffect() constructor of the Web Animations API returns a new KeyframeEffect object instance, and also allows you to clone an existing keyframe effect object instance.
|
KeyframeEffect(Element target,
JsObject keyframes,
KeyframeEffectOptions options)
The KeyframeEffect() constructor of the Web Animations API returns a new KeyframeEffect object instance, and also allows you to clone an existing keyframe effect object instance.
|
KeyframeEffect(KeyframeEffect source)
The KeyframeEffect() constructor of the Web Animations API returns a new KeyframeEffect object instance, and also allows you to clone an existing keyframe effect object instance.
|
| Modifier and Type | Method and Description |
|---|---|
@JsNonNull JsArray<JsObject> |
getKeyframes()
The getKeyframes() method of a KeyframeEffect returns an Array of the computed keyframes that make up this animation along with their computed offsets.
|
void |
setKeyframes(JsObject keyframes)
The setKeyframes() method of the KeyframeEffect interface replaces the keyframes that make up the affected KeyframeEffect with a new set of keyframes.
|
getComputedTiming, getTiming, updateTiming, updateTimingassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, values@CompositeOperation public @JsNonNull java.lang.String composite
public @JsNullable java.lang.String pseudoElement
public @JsNullable Element target
public KeyframeEffect(@Nullable
Element target,
@Nullable
JsObject keyframes,
double options)
public KeyframeEffect(@Nullable
Element target,
@Nullable
JsObject keyframes,
@Nonnull
KeyframeEffectOptions options)
public KeyframeEffect(@Nullable
Element target,
@Nullable
JsObject keyframes)
public KeyframeEffect(@Nonnull
KeyframeEffect source)
public @JsNonNull JsArray<JsObject> getKeyframes()
public void setKeyframes(@Nullable
JsObject keyframes)