WindowClient

abstract external class WindowClient : Client (source)

Platform and version requirements: JS

Exposes the JavaScript WindowClient to Kotlin

Constructors

<init>

WindowClient()

Exposes the JavaScript WindowClient to Kotlin

Properties

focused

open val focused: Boolean

visibilityState

open val visibilityState: dynamic

Inherited Properties

frameType

open val frameType: FrameType

id

open val id: String

url

open val url: String

Functions

focus

fun focus(): Promise<WindowClient>

navigate

fun navigate(url: String): Promise<WindowClient>

Inherited Functions

postMessage

fun postMessage(
    message: Any?,
    transfer: Array<dynamic> = definedExternally)