ScrollTimelineOptions Class

The options of a scroll timeline (https://drafts.csswg.org/scroll-animations-1/#dictdef-scrolltimelineoptions).

public sealed class ScrollTimelineOptions

Constructors

NameDescription
ScrollTimelineOptions()

ScrollTimelineOptions()

public ScrollTimelineOptions()

No documentation is available.

Properties

NameDescription
AxisGets the axis of the timeline.
SourceGets the scroll container whose scroll position drives the timeline; the scrolling element of the document when not set.

Gets the axis of the timeline.

public ScrollAxis Axis { get; init; }

Gets the scroll container whose scroll position drives the timeline; the scrolling element of the document when not set.

public Element? Source { get; init; }