MessageEvent
Represents the event arguments when receiving a message.
Gets the data that is carried by the message.
Gets the id of the last event.
Gets the origin of the message.
Gets the used message ports.
Gets the source of the message.
public MessageEvent()
Creates a new event.
public MessageEvent(string type, bool bubbles, bool cancelable, object data, string origin, string lastEventId, IWindow source, IMessagePort[] ports)
Creates a new event and initializes it.
Creates a new event and initializes it.
public void Init(string type, bool bubbles, bool cancelable, object data, string origin, string lastEventId, IWindow source, IMessagePort[] ports)
Initializes the message event.