MessageEvent

open class MessageEvent(type: String, eventInitDict: MessageEventInit) : Event, JsAny

Exposes the JavaScript MessageEvent to Kotlin

Constructors

Link copied to clipboard
constructor(type: String, eventInitDict: MessageEventInit)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val bubbles: Boolean
Link copied to clipboard
Link copied to clipboard
open val composed: Boolean
Link copied to clipboard
Link copied to clipboard
open val data: JsAny?
Link copied to clipboard
Link copied to clipboard
open val eventPhase: Short
Link copied to clipboard
open val isTrusted: Boolean
Link copied to clipboard
Link copied to clipboard
open val origin: String
Link copied to clipboard
open val ports: JsArray<out MessagePort>
Link copied to clipboard
Link copied to clipboard
open val target: EventTarget?
Link copied to clipboard
Link copied to clipboard
open val type: String

Functions

Link copied to clipboard
Link copied to clipboard
fun initEvent(type: String, bubbles: Boolean, cancelable: Boolean)
Link copied to clipboard
fun initMessageEvent(type: String, bubbles: Boolean, cancelable: Boolean, data: JsAny?, origin: String, lastEventId: String, source: UnionMessagePortOrWindowProxy?, ports: JsArray<MessagePort>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard