INavigable<'View> Type
Instance members
Instance member | Description |
Full Usage:
this.Navigate
Parameters:
string
-
The URL to navigate to
?cancellationToken : CancellationToken
-
A token that can be used to cancel the navigation
Returns: Task<Result<unit, NavigationError<'View>>>
A task that will complete when the navigation is successful or when it fails.
Modifiers: abstract |
|
Full Usage:
this.NavigateByName
Parameters:
string
-
The name of the route to navigate to
?routeParams : IReadOnlyDictionary<string, obj>
-
The parameters that will be used to match the route
?cancellationToken : CancellationToken
-
A token that can be used to cancel the navigation
Returns: Task<Result<unit, NavigationError<'View>>>
A task that will complete when the navigation is successful or when it fails.
Modifiers: abstract |
The route name is the name that was used to define the route in the route definition. Please note that any required parameters not supplied in the routeParams will make the navigation fail.
|
|
This adaptive value will emit the current state of the router. It will emit Navigating when the router is in the process of navigating to a route. It will emit Idle when the router is not navigating to a route.
|
|
This property will return the current state of the router. It will return Navigating when the router is in the process of navigating to a route. It will return Idle when the router is not navigating to a route.
|