#pattern
* Communication
#ja
$1 通信
#pattern
* Event definitions
#ja
$1 事象定義
#en
Messages in server-sent events, Web sockets, cross-document messaging, and channel messaging use the message event.
#ja
鯖送信事象、Web ソケット、文書間メッセージ交換、通信路メッセージ交換のメッセージはmessage 事象を使います。
#en
The following interface is defined for this event:
#ja
次の界面はこの事象のために定義されています。
#pattern
The *()
and *()
methods must initialise the event in a manner analogous to the
similarly-named methods in the DOM3 Events interfaces. [DOM3EVENTS]
#ja
$3()
メソッドと initMessageEventNS()
メソッドは、 DOM3 事象界面の似たような名前のメソッドと同じような方法で事象を初期化しなければ[[MUST:なりません]]。
[DOM3EVENTS]
#en
The data
attribute represents the message being sent.
#ja
data
属性は送信されたメッセージを表します。