diff options
| author | MDN <actions@users.noreply.github.com> | 2022-03-12 00:12:34 +0000 |
|---|---|---|
| committer | MDN <actions@users.noreply.github.com> | 2022-03-12 00:12:34 +0000 |
| commit | ba8d3f6f9d418e3b7fdfe79ccfb6e7a6ffb7f566 (patch) | |
| tree | cce214303d6ea221e3abeea53ae092ed62f963c4 /files/ja/web/api/eventsource/onerror | |
| parent | 6c17e71cc7dc70f7a33c532d29d8b13670cdd729 (diff) | |
| download | translated-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/onerror')
| -rw-r--r-- | files/ja/web/api/eventsource/onerror/index.html | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/files/ja/web/api/eventsource/onerror/index.html b/files/ja/web/api/eventsource/onerror/index.html deleted file mode 100644 index 1629027780..0000000000 --- a/files/ja/web/api/eventsource/onerror/index.html +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: EventSource.onerror -slug: Web/API/EventSource/onerror -tags: - - API - - EventSource - - Server-sent events - - イベントハンドラ - - プロパティ - - リファレンス -translation_of: Web/API/EventSource/onerror ---- -<div>{{APIRef('WebSockets API')}}</div> - - - -<p>{{domxref("EventSource")}} インターフェースの<code><strong>onerror</strong></code> プロパティは、エラーが発生し、<code>EventSource</code> オブジェクトに対して {{event("error")}} が送出されたときに呼び出される {{event("Event_handlers", "event handler")}} です。</p> - -<h2 id="構文">構文</h2> - -<pre class="syntaxbox">eventSource.onerror = function</pre> - -<h2 id="例">例</h2> - -<pre class="brush: js">evtSource.onerror = function() { - console.log("EventSource failed."); -};</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-onerror", "onerror")}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>初期定義</td> - </tr> - </tbody> -</table> - -<ul> -</ul> - -<h2 id="ブラウザ互換性">ブラウザ互換性</h2> - -<div> - - -<p>{{Compat("api.EventSource.onerror")}}</p> -</div> - -<h2 id="関連情報">関連情報</h2> - -<ul> - <li>{{domxref("EventSource")}}</li> -</ul> |
