ExtendableMessageEvent

open external class ExtendableMessageEvent(type: String, eventInitDict: ExtendableMessageEventInit) : ExtendableEvent

Exposes the JavaScript ExtendableMessageEvent to Kotlin

Constructors

ExtendableMessageEvent
Link copied to clipboard
JS
fun ExtendableMessageEvent(type: String, eventInitDict: ExtendableMessageEventInit = definedExternally)

Types

Companion
Link copied to clipboard
JS
object Companion

Functions

composedPath
Link copied to clipboard
JS
fun composedPath(): Array<EventTarget>
initEvent
Link copied to clipboard
JS
fun initEvent(type: String, bubbles: Boolean, cancelable: Boolean)
preventDefault
Link copied to clipboard
JS
fun preventDefault()
stopImmediatePropagation
Link copied to clipboard
JS
fun stopImmediatePropagation()
stopPropagation
Link copied to clipboard
JS
fun stopPropagation()
waitUntil
Link copied to clipboard
JS
fun waitUntil(f: Promise<Any?>)

Properties

bubbles
Link copied to clipboard
JS
open val bubbles: Boolean
cancelable
Link copied to clipboard
JS
open val cancelable: Boolean
composed
Link copied to clipboard
JS
open val composed: Boolean
currentTarget
Link copied to clipboard
JS
open val currentTarget: EventTarget?
data
Link copied to clipboard
JS
open val data: Any?
defaultPrevented
Link copied to clipboard
JS
open val defaultPrevented: Boolean
eventPhase
Link copied to clipboard
JS
open val eventPhase: Short
isTrusted
Link copied to clipboard
JS
open val isTrusted: Boolean
lastEventId
Link copied to clipboard
JS
open val lastEventId: String
origin
Link copied to clipboard
JS
open val origin: String
ports
Link copied to clipboard
JS
open val ports: Array<out MessagePort>?
source
Link copied to clipboard
JS
open val source: UnionClientOrMessagePortOrServiceWorker?
target
Link copied to clipboard
JS
open val target: EventTarget?
timeStamp
Link copied to clipboard
JS
open val timeStamp: Number
type
Link copied to clipboard
JS
open val type: String