ComputedEffectTiming Class

The timing properties of an animation effect and its calculated timing (https://drafts.csswg.org/web-animations-1/#dictdef-computedeffecttiming).

public sealed class ComputedEffectTiming : EffectTiming
Inheritance
EffectTiming ComputedEffectTiming

Constructors

NameDescription
ComputedEffectTiming()

ComputedEffectTiming()

public ComputedEffectTiming()

No documentation is available.

Properties

NameDescription
ActiveDurationGets the active duration of the effect.
CurrentIterationGets the current iteration, or null when the effect is not in effect.
EndTimeGets the end time of the effect.
LocalTimeGets the local time of the effect, or null when it is not associated with an animation or the current time of the animation is unresolved.
ProgressGets the iteration progress, or null when the effect is not in effect.
StartTimeGets the start time of the effect (always 0).

ActiveDuration

EffectTiming.cs

Gets the active duration of the effect.

public CssNumberish ActiveDuration { get; init; }

CurrentIteration

EffectTiming.cs

Gets the current iteration, or null when the effect is not in effect.

public double? CurrentIteration { get; init; }

Gets the end time of the effect.

public CssNumberish EndTime { get; init; }

Gets the local time of the effect, or null when it is not associated with an animation or the current time of the animation is unresolved.

public CssNumberish? LocalTime { get; init; }

Gets the iteration progress, or null when the effect is not in effect.

public double? Progress { get; init; }

Gets the start time of the effect (always 0).

public CssNumberish StartTime { get; init; }