FocusOptions Class

https://html.spec.whatwg.org/multipage/interaction.html#focusoptions

public sealed class FocusOptions

Constructors

NameDescription
FocusOptions()

FocusOptions()

public FocusOptions()

No documentation is available.

Properties

NameDescription
FocusVisibleGets a value indicating whether the focus indicator must be visible, or null to let the user agent decide.
PreventScrollGets a value indicating whether the user agent must not scroll the element into view when it is focused.

Gets a value indicating whether the focus indicator must be visible, or null to let the user agent decide.

public bool? FocusVisible { get; init; }

Gets a value indicating whether the user agent must not scroll the element into view when it is focused.

public bool PreventScroll { get; init; }