Extends: Event
See: https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent
- MessageEvent
- new MessageEvent(data, origin, source, eventInit)
- .data
- .origin
- .source
- .type
- .isTrusted :
boolean - .target :
Node - .currentTarget :
Node - .bubbles :
boolean - .cancelable :
boolean - .eventPhase
- .defaultPrevented :
boolean - .returnValue :
\* - .preventDefault()
- .stopImmediatePropagation()
- .stopPropagation()
Creates an instance of MessageEvent.
| Param | Type |
|---|---|
| data | \* |
| origin | \* |
| source | \* |
| eventInit | \* |
Returns: string - returns the data sent by the server.
Returns: string - returns the origin of the message.
Returns: string - returns the string indicating the messageEventSource.
Read only
Read only
messageEvent.target : Node
Read only
messageEvent.currentTarget : Node
Read only
Read only
Read only
Read only
Read only