NavigateEventInit Class
https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigateeventinit
public sealed class NavigateEventInit : EventInit- Inheritance
EventInitNavigateEventInit
Constructors
| Name | Description |
|---|---|
| NavigateEventInit() |
NavigateEventInit()
- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public NavigateEventInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| CanIntercept | Gets a value indicating whether the navigation can be intercepted to become a same-document navigation. |
| Destination | Gets the destination of the navigation. |
| DownloadRequest | Gets the download attribute value of the link that started the navigation, or null. |
| FormData | Gets the data of the form submission that started the navigation, if any. |
| HasUAVisualTransition | Gets a value indicating whether the user agent already performed a visual transition for the navigation. |
| HashChange | Gets a value indicating whether the navigation only changes the fragment of the URL. |
| Info | A value of the script engine, or null for undefined. |
| NavigationType | Gets the type of the navigation: push, replace, reload or traverse. |
| Signal | Gets the signal that is aborted when the navigation is canceled. |
| SourceElement | Gets the element that started the navigation, or null. |
| UserInitiated | Gets a value indicating whether the navigation is initiated by the user. |
CanIntercept
NavigationEvents.csGets a value indicating whether the navigation can be intercepted to become a same-document navigation.
public bool CanIntercept { get; init; }Destination
NavigationEvents.csGets the destination of the navigation.
public required NavigationDestination Destination { get; init; }DownloadRequest
NavigationEvents.csGets the download attribute value of the link that started the navigation, or null.
public string? DownloadRequest { get; init; }FormData
NavigationEvents.csGets the data of the form submission that started the navigation, if any.
public FormData? FormData { get; init; }HasUAVisualTransition
NavigationEvents.csGets a value indicating whether the user agent already performed a visual transition for the navigation.
public bool HasUAVisualTransition { get; init; }HashChange
NavigationEvents.csGets a value indicating whether the navigation only changes the fragment of the URL.
public bool HashChange { get; init; }A value of the script engine, or null for undefined.
public object? Info { get; init; }Signal
NavigationEvents.csGets the signal that is aborted when the navigation is canceled.
public required AbortSignal Signal { get; init; }SourceElement
NavigationEvents.csGets the element that started the navigation, or null.
public Element? SourceElement { get; init; }UserInitiated
NavigationEvents.csGets a value indicating whether the navigation is initiated by the user.
public bool UserInitiated { get; init; }