Docs (4.0.0)
class GlobalContext method

navigate

Navigates to the specified path asynchronously.

navigate(target: string | LazyString | NavigationTarget | {
    getNavigationTarget(): NavigationTarget;
}, mode?: NavigationController.NavigationMode): this

Notes

Parameters

Example

// In a web application, navigate to the /foo URL
app.navigate("foo");

Related