Function navigate
Source pub fn navigate(url: &str)
Expand description
Navigates to the specified url. The url should have the same origin as the app.
This is useful for imperatively navigating to an url when using an anchor tag (<a>) is not
possible/suitable (e.g. when submitting a form).
§Panics
This function will panic!() if a Router has not yet been created.