MessageEvent

Extends: Event

See: https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent

new MessageEvent(data, origin, source, eventInit)

Creates an instance of MessageEvent.

Param Type
data *
origin *
source *
eventInit *

messageEvent.data

Returns: string - returns the data sent by the server.

messageEvent.origin

Returns: string - returns the origin of the message.

messageEvent.source

Returns: string - returns the string indicating the messageEventSource.

messageEvent.type

Read only

messageEvent.isTrusted : boolean

Read only

messageEvent.target : Node

Read only

messageEvent.currentTarget : Node

Read only

messageEvent.bubbles : boolean

Read only

messageEvent.cancelable : boolean

Read only

messageEvent.eventPhase

Read only

messageEvent.defaultPrevented : boolean

Read only

messageEvent.returnValue : *

messageEvent.preventDefault()

messageEvent.stopImmediatePropagation()

messageEvent.stopPropagation()

results matching ""

    No results matching ""