diff options
author | MDN <actions@users.noreply.github.com> | 2021-12-16 00:52:08 +0000 |
---|---|---|
committer | MDN <actions@users.noreply.github.com> | 2021-12-16 00:52:08 +0000 |
commit | 9b97f9f4a1f580cbf582fb4bebabbccaab8e5dda (patch) | |
tree | 513e8e35a07a3fd1dc45a5415425fd3780075d51 /files/de/web/api/websocket/onclose | |
parent | 7f7c1b96a524c16de813516cc1b7ed3b773ae7ad (diff) | |
download | translated-content-9b97f9f4a1f580cbf582fb4bebabbccaab8e5dda.tar.gz translated-content-9b97f9f4a1f580cbf582fb4bebabbccaab8e5dda.tar.bz2 translated-content-9b97f9f4a1f580cbf582fb4bebabbccaab8e5dda.zip |
[CRON] sync translated content
Diffstat (limited to 'files/de/web/api/websocket/onclose')
-rw-r--r-- | files/de/web/api/websocket/onclose/index.html | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/files/de/web/api/websocket/onclose/index.html b/files/de/web/api/websocket/onclose/index.html deleted file mode 100644 index 9b7b11e057..0000000000 --- a/files/de/web/api/websocket/onclose/index.html +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: WebSocket.onclose -slug: Web/API/WebSocket/onclose -tags: - - API - - Eigenschaft - - Referenz - - Web API - - WebSocket -translation_of: Web/API/WebSocket/onclose ---- -<p>{{APIRef("Web Sockets API")}}</p> - -<p>Die Eigenschaft <code><strong>WebSocket.onclose</strong></code> ist ein {{event("Event_handlers", "event handler")}}, der aufgerufen wird, wenn die Eigenschaft {{domxref("WebSocket.readyState","WebSocket.readyState")}} zu {{domxref("WebSocket.readyState","CLOSED")}} geƤndert bzw. die Verbindung geschlossen wird.</p> - -<p>Als Parameter Ć¼bergeben wird ein {{domxref("CloseEvent")}}.</p> - -<h2 id="Syntax">Syntax</h2> - -<pre class="syntaxbox"><em>aWebSocket</em>.onclose = function(event) { - console.log("WebSocket is closed now."); -};</pre> - -<h2 id="Wert">Wert</h2> - -<p>Ein {{domxref("EventListener")}}.</p> - -<h2 id="Spezifikationen">Spezifikationen</h2> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">Specification</th> - <th scope="col">Status</th> - <th scope="col">Comment</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('HTML WHATWG', '#handler-websocket-onclose', 'WebSocket: onclose')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>Initial definition</td> - </tr> - </tbody> -</table> |