package js.html
extends Event
Available on jsA
MessageEventis the interface representing a message received by a target, being aWebSocketor a WebRTCRTCDataChannelDocumentation MessageEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
new (type:String, ?eventInitDict:MessageEventInit)Throws:
null |
DOMError |
|---|
read only data:DynamicReturns a DOMString, Blob or an ArrayBuffer containing the data send by the emitter.
read only lastEventId:Stringread only origin:StringIs a DOMString …
read only ports:MessagePortList…
read only source:EitherType<Window, MessagePort>…
initMessageEvent (type:String, bubbles:Bool, cancelable:Bool, data:Dynamic, origin:String, lastEventId:String, source:EitherType<Window, MessagePort>, ports:Array<MessagePort>):Void… Do not use this anymore: use the MessageEvent.MessageEvent constructor instead.
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/MessageEvent.html