Method Navigate
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Navigate(string, bool, string?)
No element participates in layout while the active Router handles the target.
public static ComponentNode Navigate(string to, bool replace = false, string? key = null)
Parameters
tostringAbsolute and route-relative targets follow UseNavigate(bool).
replaceboolWhen true, replaces the current history entry instead of pushing.
keystring
Returns
Remarks
Redirects on mount and again when to or replace changes.