KeyframeEffectOptions Class

The options of a keyframe effect (https://drafts.csswg.org/web-animations-1/#dictdef-keyframeeffectoptions).

public class KeyframeEffectOptions : EffectTiming
Inheritance
EffectTiming KeyframeEffectOptions

Constructors

NameDescription
KeyframeEffectOptions()

KeyframeEffectOptions()

public KeyframeEffectOptions()

No documentation is available.

Properties

NameDescription
CompositeGets the composite operation of the effect.
IterationCompositeGets the iteration composite operation of the effect.
PseudoElementGets the pseudo-element targeted by the effect (e.g. ::before), or null to target the element.

Gets the composite operation of the effect.

public CompositeOperation Composite { get; init; }

IterationComposite

KeyframeEffect.cs

Gets the iteration composite operation of the effect.

public IterationCompositeOperation IterationComposite { get; init; }

PseudoElement

KeyframeEffect.cs

Gets the pseudo-element targeted by the effect (e.g. ::before), or null to target the element.

public string? PseudoElement { get; init; }