ServiceWorkerMessageEvent
Exposes the JavaScript ServiceWorkerMessageEvent to Kotlin
Constructors
<init>
Exposes the JavaScript ServiceWorkerMessageEvent to Kotlin
ServiceWorkerMessageEvent(
type: String,
eventInitDict: ServiceWorkerMessageEventInit = definedExternally)
Properties
data
open val data: Any?
lastEventId
open val lastEventId: String
origin
open val origin: String
ports
open val ports: Array<out MessagePort>?
source
open val source: UnionMessagePortOrServiceWorker?
Companion Object Properties
AT_TARGET
val AT_TARGET: Short
BUBBLING_PHASE
val BUBBLING_PHASE: Short
CAPTURING_PHASE
val CAPTURING_PHASE: Short
NONE
val NONE: Short