navToUri

fun navToUri(uri: String)

Navigates to the given uri.


fun navToUri(uri: String, evt: MouseEvent)

Navigate to the given uri.

If evt.ctrlKey is true, the uri will be opened in a new tab.


fun navToUri(uri: String, newTab: Boolean)

Navigate to the given uri.

If newTab is true, the uri will be opened in a new tab.


fun navToUri(uri: String, target: String? = null)

Navigate to the given uri.

If target is null, it will navigate to the uri in the same window. If target is not null, window.open(target = target) will be used to open a new tab / window.


fun navToUri(route: Route, routeParams: Map<String, String>, queryParams: Map<String, String>)

Navigates to the route by filling in the given routeParams and queryParams.


fun navToUri(route: Route.Match)

Navigates to the route.