window.MessageEvent
See: https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent
MessageEvent(data, origin, source, eventInit)
Creates an instance of MessageEvent.
| Param | Type |
|---|---|
| data | * |
| origin | * |
| source | * |
| eventInit | * |
data ⇒ string
Returns: string - returns the data sent by the server.
origin ⇒ string
Returns: string - returns the origin of the message.
source ⇒ string
Returns: string - returns the string indicating the messageEventSource.
type
Read only
isTrusted : boolean
Read only
target : Node
Read only
currentTarget : Node
Read only
bubbles : boolean
Read only
cancelable : boolean
Read only
eventPhase
Read only
defaultPrevented : boolean
Read only
returnValue : *
initEvent(typeArg, bubblesArg, cancelableArg)
| Param | Type |
|---|---|
| typeArg | string |
| bubblesArg | boolean |
| cancelableArg | boolean |