MessageEvent ⇐ Event

Kind: global class
Extends: Event
Access: public
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 ⇒ string

Kind: instance property of MessageEvent
Returns: string - returns the data sent by the server.

messageEvent.origin ⇒ string

Kind: instance property of MessageEvent
Returns: string - returns the origin of the message.

messageEvent.source ⇒ string

Kind: instance property of MessageEvent
Returns: string - returns the string indicating the messageEventSource.

messageEvent.type

Kind: instance property of MessageEvent
Read only: true

messageEvent.isTrusted : boolean

Kind: instance property of MessageEvent
Read only: true

messageEvent.target : Node

Kind: instance property of MessageEvent
Read only: true

messageEvent.currentTarget : Node

Kind: instance property of MessageEvent
Read only: true

messageEvent.bubbles : boolean

Kind: instance property of MessageEvent
Read only: true

messageEvent.cancelable : boolean

Kind: instance property of MessageEvent
Read only: true

messageEvent.eventPhase

Kind: instance property of MessageEvent
Read only: true

messageEvent.defaultPrevented : boolean

Kind: instance property of MessageEvent
Read only: true

messageEvent.returnValue : *

Kind: instance property of MessageEvent

messageEvent.preventDefault()

Kind: instance method of MessageEvent

messageEvent.stopImmediatePropagation()

Kind: instance method of MessageEvent

messageEvent.stopPropagation()

Kind: instance method of MessageEvent

results matching ""

    No results matching ""