navigate

fun navigate(url: String, options: NavigationNavigateOptions = definedExternally): NavigationResult(source)

The navigate() method of the Navigation interface navigates to a specific URL, updating any provided state in the history entries list.

MDN Reference


fun navigate(url: URL, options: NavigationNavigateOptions = definedExternally): NavigationResult(source)