navigateAsync

open external fun navigateAsync(url: String): Promise<WindowClient?>(source)
open external fun navigateAsync(url: URL): Promise<WindowClient?>(source)

The navigate() method of the WindowClient interface loads a specified URL into a controlled client page then returns a Promise that resolves to the existing WindowClient.

MDN Reference