BroadcastChannel

JS
1.1
open class BroadcastChannel : EventTarget

Exposes the JavaScript BroadcastChannel to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript BroadcastChannel to Kotlin

BroadcastChannel(name: String)

Properties

JS
1.1

name

open val name: String
JS
1.1

onmessage

var onmessage: ((MessageEvent) -> dynamic)?

Functions

JS
1.1

close

fun close()
JS
1.1

postMessage

fun postMessage(message: Any?)