MessagePort

Overview

The MessagePort interface of the Channel Messaging API represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other.

Location

Properties


message

 

property message: EventListener read write;

 

EventListener message { get; set; }

 

var message: EventListener { get{} set{} }

 

EventListener message { __get; __set; }

 

Property message() As EventListener

messageerror

 

property messageerror: EventListener read write;

 

EventListener messageerror { get; set; }

 

var messageerror: EventListener { get{} set{} }

 

EventListener messageerror { __get; __set; }

 

Property messageerror() As EventListener

onmessage

 

property onmessage: EventListener read write;

 

EventListener onmessage { get; set; }

 

var onmessage: EventListener { get{} set{} }

 

EventListener onmessage { __get; __set; }

 

Property onmessage() As EventListener

onmessageerror

 

property onmessageerror: EventListener read write;

 

EventListener onmessageerror { get; set; }

 

var onmessageerror: EventListener { get{} set{} }

 

EventListener onmessageerror { __get; __set; }

 

Property onmessageerror() As EventListener