extern class js.html.MessageEventextends EventAvailable in js
This page is not complete.

A MessageEvent is sent to clients using WebSockets when data is received from the server. This is delivered to the listener indicated by the WebSocket object's onmessage attribute.

Documentation for this class was provided by MDN.
var data(default,null) : DynamicThe data from the server. var lastEventId(default,null) : String var origin(default,null) : String var ports(default,null) : Array<Dynamic> var source(default,null) : DOMWindow function new( type : String, ?canBubble : Bool, ?cancelable : Bool ) : Void function initMessageEvent( typeArg : String, canBubbleArg : Bool, cancelableArg : Bool, dataArg : Dynamic, originArg : String, lastEventIdArg : String, sourceArg : DOMWindow, transferables : Array<Dynamic> ) : Void
version #18308, modified 2013-05-01 11:57:55 by api
0 comment