@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="KeyframeEffect")
public class KeyframeEffect
extends AnimationEffect
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
composite
The composite property of a KeyframeEffect resolves how an element's animation impacts its underlying property values.
|
java.lang.String |
iterationComposite
The iterationComposite property of a KeyframeEffect resolves how the animation's property value changes accumulate or override each other upon each of the animation's iterations.
|
ElementOrCSSPseudoElementUnion |
target
The target property of a KeyframeEffect interface represents the element or pseudo-element being animated.
|
| Constructor and Description |
|---|
KeyframeEffect(CSSPseudoElement target,
java.lang.Object 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(CSSPseudoElement target,
java.lang.Object 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(CSSPseudoElement target,
java.lang.Object 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(Element target,
java.lang.Object 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,
java.lang.Object 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,
java.lang.Object 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 |
|---|---|
JsArray<java.lang.Object> |
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(java.lang.Object 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, updateTiming@Nonnull @CompositeOperation public java.lang.String composite
@Nonnull @IterationCompositeOperation public java.lang.String iterationComposite
@Nullable public ElementOrCSSPseudoElementUnion target
public KeyframeEffect(@Nonnull
Element target,
@Nullable
java.lang.Object keyframes,
double options)
public KeyframeEffect(@Nonnull
CSSPseudoElement target,
@Nullable
java.lang.Object keyframes,
double options)
public KeyframeEffect(@Nonnull
Element target,
@Nullable
java.lang.Object keyframes,
@Nonnull
KeyframeEffectOptions options)
public KeyframeEffect(@Nonnull
CSSPseudoElement target,
@Nullable
java.lang.Object keyframes,
@Nonnull
KeyframeEffectOptions options)
public KeyframeEffect(@Nonnull
Element target,
@Nullable
java.lang.Object keyframes)
public KeyframeEffect(@Nonnull
CSSPseudoElement target,
@Nullable
java.lang.Object keyframes)
public KeyframeEffect(@Nonnull
KeyframeEffect source)
@Nonnull public JsArray<java.lang.Object> getKeyframes()
public void setKeyframes(@Nullable
java.lang.Object keyframes)