Delegate NavigateFunction
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
What Hooks.UseNavigate returns: React Router's navigate. The options apply to a path
target and are ignored for a delta, as React Router ignores them.
public delegate VelvetTask<NavigationResult> NavigateFunction(NavigateTarget to, NavigateOptions? options = null)
Parameters
toNavigateTarget- What Hooks.UseNavigate returns: React Router's navigate. The options apply to a path target and are ignored for a delta, as React Router ignores them.
optionsNavigateOptions- What Hooks.UseNavigate returns: React Router's navigate. The options apply to a path target and are ignored for a delta, as React Router ignores them.
Returns
- VelvetTask<NavigationResult>
- What Hooks.UseNavigate returns: React Router's navigate. The options apply to a path target and are ignored for a delta, as React Router ignores them.