AnimationEffect Class
An animation effect: its timing properties and the timing model that calculates its progress from the current time of its animation (https://drafts.csswg.org/web-animations-1/#animation-effects).
public abstract class AnimationEffectMethods
| Name | Description |
|---|---|
| GetComputedTiming() | Returns the calculated timing properties of the effect (https://drafts.csswg.org/web-animations-1/#dom-animationeffect-getcomputedtiming). |
| GetTiming() | Returns the specified timing properties of the effect (https://drafts.csswg.org/web-animations-1/#dom-animationeffect-gettiming). |
| UpdateTiming(OptionalEffectTiming?) | Updates the timing properties of the effect (https://drafts.csswg.org/web-animations-1/#dom-animationeffect-updatetiming): the members of timing that are set replace the current values. |
GetComputedTiming()
AnimationEffect.csReturns the calculated timing properties of the effect (https://drafts.csswg.org/web-animations-1/#dom-animationeffect-getcomputedtiming).
public ComputedEffectTiming GetComputedTiming()GetTiming()
AnimationEffect.csReturns the specified timing properties of the effect (https://drafts.csswg.org/web-animations-1/#dom-animationeffect-gettiming).
public EffectTiming GetTiming()UpdateTiming(OptionalEffectTiming?)
AnimationEffect.csUpdates the timing properties of the effect (https://drafts.csswg.org/web-animations-1/#dom-animationeffect-updatetiming): the members of timing that are set replace the current values.
public void UpdateTiming(OptionalEffectTiming? timing = null)Parameters
timingOptionalEffectTiming?
Exceptions
TypeErrorException- A value is invalid (e.g. a negative duration or an invalid easing function).