ScrollToOptions Class

https://drafts.csswg.org/cssom-view/#dictdef-scrolltooptions

public sealed class ScrollToOptions : ScrollOptions
Inheritance
ScrollOptions ScrollToOptions

Constructors

NameDescription
ScrollToOptions()

ScrollToOptions()

public ScrollToOptions()

No documentation is available.

Properties

NameDescription
LeftGets the horizontal scroll position to scroll to, or null to keep the current position.
TopGets the vertical scroll position to scroll to, or null to keep the current position.

Gets the horizontal scroll position to scroll to, or null to keep the current position.

public double? Left { get; init; }

Gets the vertical scroll position to scroll to, or null to keep the current position.

public double? Top { get; init; }