KeyframeAnimationOptions Class
The options of Element.Animate (https://drafts.csswg.org/web-animations-1/#dictdef-keyframeanimationoptions).
public sealed class KeyframeAnimationOptions : KeyframeEffectOptions- Inheritance
KeyframeEffectOptionsKeyframeAnimationOptions
Constructors
| Name | Description |
|---|---|
| KeyframeAnimationOptions() |
KeyframeAnimationOptions()
Element.Animations.cspublic KeyframeAnimationOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Id | Gets the identifier of the animation. |
| RangeEnd | Gets the end of the animation attachment range (https://drafts.csswg.org/web-animations-2/#dom-keyframeanimationoptions-rangeend): "normal", an animation-range-end value, a TimelineRangeOffset or an offset. |
| RangeStart | Gets the start of the animation attachment range (https://drafts.csswg.org/web-animations-2/#dom-keyframeanimationoptions-rangestart): "normal", an animation-range-start value, a TimelineRangeOffset or an offset. |
| Timeline | Gets the timeline of the animation (null for no timeline); the default timeline of the document when not set. |
RangeEnd
Element.Animations.csGets the end of the animation attachment range (https://drafts.csswg.org/web-animations-2/#dom-keyframeanimationoptions-rangeend): "normal", an animation-range-end value, a TimelineRangeOffset or an offset.
public TimelineRangeValue RangeEnd { get; init; }RangeStart
Element.Animations.csGets the start of the animation attachment range (https://drafts.csswg.org/web-animations-2/#dom-keyframeanimationoptions-rangestart): "normal", an animation-range-start value, a TimelineRangeOffset or an offset.
public TimelineRangeValue RangeStart { get; init; }Timeline
Element.Animations.csGets the timeline of the animation (null for no timeline); the default timeline of the document when not set.
public AnimationTimeline? Timeline { get; init; }