MessageEvent

open external class MessageEvent(type: String, eventInitDict: MessageEventInit = definedExternally) : Event

Exposes the JavaScript MessageEvent to Kotlin

Constructors

Link copied to clipboard
fun MessageEvent(type: String, eventInitDict: MessageEventInit = definedExternally)

Types

Link copied to clipboard
object Companion

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: Any?,     origin: String,     lastEventId: String,     source: UnionMessagePortOrWindowProxy?,     ports: Array<MessagePort>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
open val bubbles: Boolean
Link copied to clipboard
open val cancelable: Boolean
Link copied to clipboard
open val composed: Boolean
Link copied to clipboard
Link copied to clipboard
open val data: Any?
Link copied to clipboard
open val defaultPrevented: Boolean
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: Array<out MessagePort>
Link copied to clipboard
Link copied to clipboard
open val target: EventTarget?
Link copied to clipboard
open val timeStamp: Number
Link copied to clipboard
open val type: String