Skip to main content
MessageEvent.initMessageEvent - Events - Web documentation
method MessageEvent.initMessageEvent
Private
MessageEvent.initMessageEvent(
type: string,
bubbles?: boolean,
cancelable?: boolean,
data?: any,
origin?: string,
lastEventId?: string,
source?: MessageEventSource | null,
ports?: MessagePort[],
): void
Deprecated

Parameters

type: string
optional
bubbles: boolean
optional
cancelable: boolean
optional
data: any
optional
origin: string
optional
lastEventId: string
optional
source: MessageEventSource | null
optional
ports: MessagePort[]

Return Type

void
Back to top