ViewTimelineOptions Class
The options of a view timeline (https://drafts.csswg.org/scroll-animations-1/#dictdef-viewtimelineoptions).
public sealed class ViewTimelineOptionsConstructors
| Name | Description |
|---|---|
| ViewTimelineOptions() |
ViewTimelineOptions()
ViewTimeline.cspublic ViewTimelineOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Axis | Gets the axis of the timeline. |
| Inset | Gets the insets of the view progress visibility range: a string parsed as a view-timeline-inset value (e.g. "auto", "10px 20%"), or a sequence of one or two CssNumericValue or CssKeywordValue ("auto"). |
| Subject | Gets the element whose visibility in the scrollport of its nearest ancestor scroll container drives the timeline. |
Axis
ViewTimeline.csInset
ViewTimeline.csGets the insets of the view progress visibility range: a string parsed as a view-timeline-inset value (e.g. "auto", "10px 20%"), or a sequence of one or two CssNumericValue or CssKeywordValue ("auto").
public object? Inset { get; init; }Property value
See also
Subject
ViewTimeline.csGets the element whose visibility in the scrollport of its nearest ancestor scroll container drives the timeline.
public Element Subject { get; init; }