Skip to main content

initMessageEvent

method MessageEvent.initMessageEvent
Jump to headingMessageEvent.initMessageEvent(
type: string,
bubbles?: boolean,
cancelable?: boolean,
data?: any,
origin?: string,
lastEventId?: string,
source?: MessageEventSource | null,
ports?: MessagePort[],
): void

Parameters Jump to heading

Jump to headingtype: string
optional
Jump to headingbubbles: boolean
optional
Jump to headingcancelable: boolean
optional
Jump to headingdata: any
optional
Jump to headingorigin: string
optional
Jump to headinglastEventId: string
optional
Jump to headingsource: MessageEventSource | null

Return Type Jump to heading

void
Back to top