aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/eventsource/onmessage/index.html
diff options
context:
space:
mode:
authorMDN <actions@users.noreply.github.com>2022-03-12 00:12:34 +0000
committerMDN <actions@users.noreply.github.com>2022-03-12 00:12:34 +0000
commitba8d3f6f9d418e3b7fdfe79ccfb6e7a6ffb7f566 (patch)
treecce214303d6ea221e3abeea53ae092ed62f963c4 /files/ja/web/api/eventsource/onmessage/index.html
parent6c17e71cc7dc70f7a33c532d29d8b13670cdd729 (diff)
downloadtranslated-content-ba8d3f6f9d418e3b7fdfe79ccfb6e7a6ffb7f566.tar.gz
translated-content-ba8d3f6f9d418e3b7fdfe79ccfb6e7a6ffb7f566.tar.bz2
translated-content-ba8d3f6f9d418e3b7fdfe79ccfb6e7a6ffb7f566.zip
[CRON] sync translated content
Diffstat (limited to 'files/ja/web/api/eventsource/onmessage/index.html')
-rw-r--r--files/ja/web/api/eventsource/onmessage/index.html69
1 files changed, 0 insertions, 69 deletions
diff --git a/files/ja/web/api/eventsource/onmessage/index.html b/files/ja/web/api/eventsource/onmessage/index.html
deleted file mode 100644
index 0b0f8c7c6b..0000000000
--- a/files/ja/web/api/eventsource/onmessage/index.html
+++ /dev/null
@@ -1,69 +0,0 @@
----
-title: EventSource.onmessage
-slug: Web/API/EventSource/onmessage
-tags:
- - API
- - EventSource
- - Server-sent events
- - onmessage
- - イベントハンドラ
- - プロパティ
- - リファレンス
-translation_of: Web/API/EventSource/onmessage
----
-<div>{{APIRef('WebSockets API')}}</div>
-
-<p>{{domxref("EventSource")}} インターフェースの <code><strong>onmessage</strong></code> プロパティは、メッセージイベントが受信されたとき、つまりソースからメッセージが送信されたときに呼び出される {{event("Event_handlers", "event handler")}} です。</p>
-
-<p><code>onmessage</code> イベントハンドラのイベントオブジェクトの型は {{domxref("MessageEvent")}} です。</p>
-
-<h2 id="構文">構文</h2>
-
-<pre class="syntaxbox">eventSource.onmessage = function</pre>
-
-<h2 id="例">例</h2>
-
-<pre class="brush: js">evtSource.onmessage = function(e) {
- var newElement = document.createElement("li");
-
- newElement.textContent = "message: " + e.data;
- eventList.appendChild(newElement);
-}</pre>
-
-<div class="note">
-<p><strong>メモ</strong>: 完全な例を GitHub から見つけることができます — <a href="https://github.com/mdn/dom-examples/tree/master/server-sent-events" rel="noopener">PHP を用いた簡単な SSE のデモ</a> を参照。</p>
-</div>
-
-<h2 id="仕様">仕様</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">仕様</th>
- <th scope="col">ステータス</th>
- <th scope="col">コメント</th>
- </tr>
- <tr>
- <td>{{SpecName('HTML WHATWG', "comms.html#handler-eventsource-onmessage", "onmessage")}}</td>
- <td>{{Spec2('HTML WHATWG')}}</td>
- <td>初期定義</td>
- </tr>
- </tbody>
-</table>
-
-<ul>
-</ul>
-
-<h2 id="ブラウザ互換性">ブラウザ互換性</h2>
-
-<div>
-
-
-<p>{{Compat("api.EventSource.onmessage")}}</p>
-</div>
-
-<h2 id="関連情報">関連情報</h2>
-
-<ul>
- <li>{{domxref("EventSource")}}</li>
-</ul>