Broadcast Channel
Exposes the JavaScript BroadcastChannel to Kotlin
Constructors
BroadcastChannel
Link copied to clipboard
Functions
add Event Listener
Link copied to clipboard
fun addEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
Content copied to clipboard
fun addEventListener(type: String, callback: EventListener?, options: dynamic = definedExternally)
Content copied to clipboard
dispatch Event
Link copied to clipboard
post Message
Link copied to clipboard
remove Event Listener
Link copied to clipboard
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
Content copied to clipboard
fun removeEventListener(type: String, callback: EventListener?, options: dynamic = definedExternally)
Content copied to clipboard