open

fun open(url: String = definedExternally, target: WindowTarget = definedExternally, features: String = definedExternally): WindowProxy?(source)

The open() method of the Window interface loads a specified resource into a new or existing browsing context (that is, a tab, a window, or an iframe) under a specified name.

MDN Reference


fun open(url: URL, target: WindowTarget = definedExternally, features: String = definedExternally): WindowProxy?(source)