Initializes a new cross-document message (XDM) event that the createEvent method created.
Method of dom/MessageEventdom/MessageEvent
Syntax event.initMessageEvent(eventType, canBubble, cancelable, data, origin, lastEventId, source);
Parameters eventType
The name of the event. Sets the value for the type property.
canBubbleWhether the event propagates upward. Sets the value for the bubbles property.
cancelableWhether the event is cancelable and so preventDefault can be called. Sets the value for the cancelable property.
dataThe cross-document message. Sets the value for the data property.
originThe originating domain of the message. Sets the value for the origin property.
lastEventIdNot used. Set this parameter to an empty string.
sourceA reference to the window that generated the event. Sets the value for the source property.
Return ValueNo return value
Related specificationsMicrosoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4