diff options
Diffstat (limited to 'files/tr/web/api/websocket/onclose/index.html')
-rw-r--r-- | files/tr/web/api/websocket/onclose/index.html | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/files/tr/web/api/websocket/onclose/index.html b/files/tr/web/api/websocket/onclose/index.html deleted file mode 100644 index 5df92f3634..0000000000 --- a/files/tr/web/api/websocket/onclose/index.html +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: WebSocket.onclose -slug: Web/API/WebSocket/onclose -tags: - - API - - Web API - - WebSocket - - Özellik -translation_of: Web/API/WebSocket/onclose ---- -<p>{{APIRef("Web Sockets API")}}</p> - -<p><code><strong>WebSocket.onclose</strong></code> özelliği bağlantının {{domxref("WebSocket.readyState","readyState")}} özelliği {{domxref("WebSocket.readyState","CLOSED")}} olduğunda çağırılan bir {{domxref("EventHandler")}}'dır. {{domxref("CloseEvent")}} ile birlikte çağırılır.</p> - -<h2 id="Sözdizim">Sözdizim</h2> - -<pre class="syntaxbox"><em>aWebSocket</em>.onclose = function(event) { - console.log("WebSocket is closed now."); -};</pre> - -<h2 id="Değer">Değer</h2> - -<p>Bir {{domxref("EventListener")}}.</p> - -<h2 id="Belirtimler">Belirtimler</h2> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">Belirtim</th> - <th scope="col">Durum</th> - <th scope="col">Yorum</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('HTML WHATWG', '#handler-websocket-onclose', 'WebSocket: onclose')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>İlk tanım</td> - </tr> - </tbody> -</table> |