Edit in GitHubLog an issue

window.MessageEvent

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

MessageEvent(data, origin, source, eventInit)

Creates an instance of MessageEvent.

ParamType
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)

ParamType
typeArgstring
bubblesArgboolean
cancelableArgboolean

preventDefault()

stopImmediatePropagation()

stopPropagation()

Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.