Interface: MessageEvent
Defined in: types/desktop-engine.d.ts:3722
A WebSocket message: a string for text messages, a Blob or an ArrayBuffer (see binaryType) for binary ones
Extends
Properties
bubbles
readonly bubbles: boolean;Defined in: types/desktop-engine.d.ts:3710
Always false
Inherited from
cancelable
readonly cancelable: boolean;Defined in: types/desktop-engine.d.ts:3711
Inherited from
currentTarget
readonly currentTarget: unknown;Defined in: types/desktop-engine.d.ts:3708
Inherited from
data
readonly data: any;Defined in: types/desktop-engine.d.ts:3723
defaultPrevented
readonly defaultPrevented: boolean;Defined in: types/desktop-engine.d.ts:3714
Inherited from
origin
readonly origin: string;Defined in: types/desktop-engine.d.ts:3725
ws(s)😕/host[:port] of the connection
target
readonly target: unknown;Defined in: types/desktop-engine.d.ts:3707
Inherited from
timeStamp
readonly timeStamp: number;Defined in: types/desktop-engine.d.ts:3713
performance.now() when the event was created
Inherited from
type
readonly type: string;Defined in: types/desktop-engine.d.ts:3706
Inherited from
Methods
preventDefault()
preventDefault(): void;Defined in: types/desktop-engine.d.ts:3715
Returns
void
Inherited from
stopImmediatePropagation()
stopImmediatePropagation(): void;Defined in: types/desktop-engine.d.ts:3718
The listeners after this one aren't called
Returns
void
Inherited from
Event.stopImmediatePropagation
stopPropagation()
stopPropagation(): void;Defined in: types/desktop-engine.d.ts:3716
Returns
void
