NavigationInterceptOptions Class
https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigationinterceptoptions
public sealed class NavigationInterceptOptionsConstructors
| Name | Description |
|---|---|
| NavigationInterceptOptions() |
NavigationInterceptOptions()
public NavigationInterceptOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| FocusReset | Gets whether the focus is reset after the transition or left to the page. |
| Handler | Gets the callback run after the navigation commits; the promise it returns settles the transition. |
| PrecommitHandler | Gets the callback run before the navigation commits; it can redirect or delay the commit. |
| Scroll | Gets whether the scroll position is restored after the transition or left to the page. |
FocusReset
NavigationEvents.csGets whether the focus is reset after the transition or left to the page.
public NavigationFocusReset? FocusReset { get; init; }Handler
NavigationEvents.csGets the callback run after the navigation commits; the promise it returns settles the transition.
public NavigationInterceptHandler? Handler { get; init; }PrecommitHandler
NavigationEvents.csGets the callback run before the navigation commits; it can redirect or delay the commit.
public NavigationPrecommitHandler? PrecommitHandler { get; init; }Scroll
NavigationEvents.csGets whether the scroll position is restored after the transition or left to the page.
public NavigationScrollBehavior? Scroll { get; init; }