Class NavigationTransition
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalNavigationTransition interface of the {{domxref("Navigation API", "Navigation API", "", "nocode")}} represents an ongoing navigation, that is, a navigation that hasn't yet reached the Navigationnavigatesuccess or Navigationnavigateerror stage.
[Value("NavigationTransition")]
public class NavigationTransition
- Inheritance
-
NavigationTransition
- Inherited Members
Remarks
It is accessed via the Transition property.
-Modern client-side routing: the Navigation API
-Navigation API explainer
-Navigation API live demo (view demo source)
Constructors
NavigationTransition()
public NavigationTransition()
Properties
Finished
NOTE
Experimentalfinished read-only property of theNavigationTransition interface returns a {{jsxref("Promise")}} that fulfills at the same time the Navigationnavigatesuccess event fires, or rejects at the same time the Navigationnavigateerror event fires.
[Value("finished")]
public Task<GlobalObject.Undefined> Finished { get; }
Property Value
- Task<GlobalObject.Undefined>
A Promise that resolves to
undefined.
Remarks
From
NOTE
Experimentalfrom read-only property of theNavigationTransition interface returns the NavigationHistoryEntry that the transition is coming from.
[Value("from")]
public NavigationHistoryEntry From { get; }
Property Value
- NavigationHistoryEntry
A NavigationHistoryEntry object.
Remarks
NavigationType
NOTE
ExperimentalnavigationType read-only property of theNavigationTransition interface returns the type of the ongoing navigation.
[Value("navigationType")]
public NavigationType NavigationType { get; }
Property Value
- NavigationType
An enumerated value representing the type of ongoing navigation.The possible values are: