redirect
open external fun redirect(url: String, options: NavigationNavigateOptions = definedExternally)(source)
open external fun redirect(url: URL, options: NavigationNavigateOptions = definedExternally)(source)
The redirect() method of the NavigationPrecommitController interface redirects the browser to a specified URL and specifies history behavior and any desired state information.