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 | |
parent | 7f7c1b96a524c16de813516cc1b7ed3b773ae7ad (diff) | |
download | translated-content-9b97f9f4a1f580cbf582fb4bebabbccaab8e5dda.tar.gz translated-content-9b97f9f4a1f580cbf582fb4bebabbccaab8e5dda.tar.bz2 translated-content-9b97f9f4a1f580cbf582fb4bebabbccaab8e5dda.zip |
[CRON] sync translated content
-rw-r--r-- | files/de/_redirects.txt | 1 | ||||
-rw-r--r-- | files/de/_wikihistory.json | 8 | ||||
-rw-r--r-- | files/de/web/api/websocket/close_event/index.html (renamed from files/de/web/api/websocket/onclose/index.html) | 3 | ||||
-rw-r--r-- | files/es/_redirects.txt | 1 | ||||
-rw-r--r-- | files/es/_wikihistory.json | 2 | ||||
-rw-r--r-- | files/es/web/api/websocket/error_event/index.html (renamed from files/es/web/api/websocket/onerror/index.html) | 3 | ||||
-rw-r--r-- | files/fr/_redirects.txt | 4 | ||||
-rw-r--r-- | files/fr/conflicting/web/api/websocket/close_event/index.md (renamed from files/fr/web/api/websocket/onclose/index.md) | 3 | ||||
-rw-r--r-- | files/fr/conflicting/web/api/websocket/error_event/index.md (renamed from files/fr/web/api/websocket/onerror/index.md) | 3 | ||||
-rw-r--r-- | files/fr/conflicting/web/api/websocket/message_event/index.md (renamed from files/fr/web/api/websocket/onmessage/index.md) | 3 | ||||
-rw-r--r-- | files/fr/conflicting/web/api/websocket/open_event/index.md (renamed from files/fr/web/api/websocket/onopen/index.md) | 3 | ||||
-rw-r--r-- | files/ja/_redirects.txt | 4 | ||||
-rw-r--r-- | files/ja/_wikihistory.json | 52 | ||||
-rw-r--r-- | files/ja/conflicting/web/api/websocket/close_event/index.html (renamed from files/ja/web/api/websocket/onclose/index.html) | 3 | ||||
-rw-r--r-- | files/ja/conflicting/web/api/websocket/error_event/index.html (renamed from files/ja/web/api/websocket/onerror/index.html) | 3 | ||||
-rw-r--r-- | files/ja/conflicting/web/api/websocket/message_event/index.html (renamed from files/ja/web/api/websocket/onmessage/index.html) | 3 | ||||
-rw-r--r-- | files/ja/conflicting/web/api/websocket/open_event/index.html (renamed from files/ja/web/api/websocket/onopen/index.html) | 3 | ||||
-rw-r--r-- | files/zh-cn/_redirects.txt | 4 | ||||
-rw-r--r-- | files/zh-cn/_wikihistory.json | 48 | ||||
-rw-r--r-- | files/zh-cn/conflicting/web/api/websocket/error_event/index.html (renamed from files/zh-cn/web/api/websocket/onerror/index.html) | 3 | ||||
-rw-r--r-- | files/zh-cn/conflicting/web/api/websocket/message_event/index.html (renamed from files/zh-cn/web/api/websocket/onmessage/index.html) | 3 | ||||
-rw-r--r-- | files/zh-cn/web/api/websocket/close_event/index.html (renamed from files/zh-cn/web/api/websocket/onclose/index.html) | 3 | ||||
-rw-r--r-- | files/zh-cn/web/api/websocket/open_event/index.html (renamed from files/zh-cn/web/api/websocket/onopen/index.html) | 3 |
23 files changed, 97 insertions, 69 deletions
diff --git a/files/de/_redirects.txt b/files/de/_redirects.txt index 65df267510..c7f0e18eae 100644 --- a/files/de/_redirects.txt +++ b/files/de/_redirects.txt @@ -448,6 +448,7 @@ /de/docs/Web/API/WebGL_API/Tutorial/Hinzufügen_von_2D_Inhalten_in_einen_WebGL-Kontext /de/docs/Web/API/WebGL_API/Tutorial/Adding_2D_content_to_a_WebGL_context /de/docs/Web/API/WebGL_API/Tutorial/Objekte_mit_WebGL_animieren /de/docs/Web/API/WebGL_API/Tutorial/Animating_objects_with_WebGL /de/docs/Web/API/WebGL_API/Tutorial/Texturen_in_WebGL_verwenden /de/docs/Web/API/WebGL_API/Tutorial/Using_textures_in_WebGL +/de/docs/Web/API/WebSocket/onclose /de/docs/Web/API/WebSocket/close_event /de/docs/Web/API/Window.alert /de/docs/Web/API/Window/alert /de/docs/Web/API/Window/performance /de/docs/Web/API/performance_property /de/docs/Web/API/Window/setTimeout /de/docs/Web/API/setTimeout diff --git a/files/de/_wikihistory.json b/files/de/_wikihistory.json index e57923c31e..815ea683ef 100644 --- a/files/de/_wikihistory.json +++ b/files/de/_wikihistory.json @@ -3898,14 +3898,14 @@ "axelrindle" ] }, - "Web/API/WebSocket/extensions": { - "modified": "2020-10-15T22:23:14.946Z", + "Web/API/WebSocket/close_event": { + "modified": "2019-10-02T19:24:05.254Z", "contributors": [ "axelrindle" ] }, - "Web/API/WebSocket/onclose": { - "modified": "2019-10-02T19:24:05.254Z", + "Web/API/WebSocket/extensions": { + "modified": "2020-10-15T22:23:14.946Z", "contributors": [ "axelrindle" ] diff --git a/files/de/web/api/websocket/onclose/index.html b/files/de/web/api/websocket/close_event/index.html index 9b7b11e057..4efa91c56b 100644 --- a/files/de/web/api/websocket/onclose/index.html +++ b/files/de/web/api/websocket/close_event/index.html @@ -1,6 +1,6 @@ --- title: WebSocket.onclose -slug: Web/API/WebSocket/onclose +slug: Web/API/WebSocket/close_event tags: - API - Eigenschaft @@ -8,6 +8,7 @@ tags: - Web API - WebSocket translation_of: Web/API/WebSocket/onclose +original_slug: Web/API/WebSocket/onclose --- <p>{{APIRef("Web Sockets API")}}</p> diff --git a/files/es/_redirects.txt b/files/es/_redirects.txt index a6ec4b3ea8..d19e28e12d 100644 --- a/files/es/_redirects.txt +++ b/files/es/_redirects.txt @@ -1574,6 +1574,7 @@ /es/docs/Web/API/WebGL_API/Getting_started_with_WebGL /es/docs/Web/API/WebGL_API/Tutorial/Getting_started_with_WebGL /es/docs/Web/API/WebGL_API/Tutorial/Objetos_3D_utilizando_WebGL /es/docs/Web/API/WebGL_API/Tutorial/Creating_3D_objects_using_WebGL /es/docs/Web/API/WebGL_API/Tutorial/Wtilizando_texturas_en_WebGL /es/docs/Web/API/WebGL_API/Tutorial/Using_textures_in_WebGL +/es/docs/Web/API/WebSocket/onerror /es/docs/Web/API/WebSocket/error_event /es/docs/Web/API/WebSockets_API/Escribiendo_servidor_WebSocket /es/docs/Web/API/WebSockets_API/Writing_WebSocket_server /es/docs/Web/API/WebSockets_API/Escribiendo_servidores_con_WebSocket /es/docs/Web/API/WebSockets_API/Writing_WebSocket_servers /es/docs/Web/API/Web_Speech_API/Uso_de_la_Web_Speech_API /es/docs/Web/API/Web_Speech_API/Using_the_Web_Speech_API diff --git a/files/es/_wikihistory.json b/files/es/_wikihistory.json index 5e2edb6bb7..a7087ecadf 100644 --- a/files/es/_wikihistory.json +++ b/files/es/_wikihistory.json @@ -8585,7 +8585,7 @@ "FLAVIOALFA" ] }, - "Web/API/WebSocket/onerror": { + "Web/API/WebSocket/error_event": { "modified": "2020-10-15T22:13:54.439Z", "contributors": [ "Bumxu" diff --git a/files/es/web/api/websocket/onerror/index.html b/files/es/web/api/websocket/error_event/index.html index e784dfc486..b3e68f3274 100644 --- a/files/es/web/api/websocket/onerror/index.html +++ b/files/es/web/api/websocket/error_event/index.html @@ -1,6 +1,6 @@ --- title: WebSocket.onerror -slug: Web/API/WebSocket/onerror +slug: Web/API/WebSocket/error_event tags: - API - Error @@ -9,6 +9,7 @@ tags: - Web API - WebSocket translation_of: Web/API/WebSocket/onerror +original_slug: Web/API/WebSocket/onerror --- <p>{{APIRef("Web Sockets API")}}</p> diff --git a/files/fr/_redirects.txt b/files/fr/_redirects.txt index a38e761993..92dcc5b46c 100644 --- a/files/fr/_redirects.txt +++ b/files/fr/_redirects.txt @@ -3750,6 +3750,10 @@ /fr/docs/Web/API/WebGL_API/Tutorial/Creer_des_objets_3D_avec_WebGL /fr/docs/Web/API/WebGL_API/Tutorial/Creating_3D_objects_using_WebGL /fr/docs/Web/API/WebGL_API/Tutorial/Eclairage_en_WebGL /fr/docs/Web/API/WebGL_API/Tutorial/Lighting_in_WebGL /fr/docs/Web/API/WebGL_API/Tutorial/Utiliser_les_textures_avec_WebGL /fr/docs/Web/API/WebGL_API/Tutorial/Using_textures_in_WebGL +/fr/docs/Web/API/WebSocket/onclose /fr/docs/conflicting/Web/API/WebSocket/close_event +/fr/docs/Web/API/WebSocket/onerror /fr/docs/conflicting/Web/API/WebSocket/error_event +/fr/docs/Web/API/WebSocket/onmessage /fr/docs/conflicting/Web/API/WebSocket/message_event +/fr/docs/Web/API/WebSocket/onopen /fr/docs/conflicting/Web/API/WebSocket/open_event /fr/docs/Web/API/WebVR_API/Utiliser_des_contrôleurs_de_realite_virtuelle_pour_du_WebVR /fr/docs/Web/API/WebVR_API/Using_VR_controllers_with_WebVR /fr/docs/Web/API/Web_Workers_API/Advanced_concepts_and_examples /fr/docs/conflicting/Web/API/Web_Workers_API/Using_web_workers /fr/docs/Web/API/Web_Workers_API/Utilisation_des_web_workers /fr/docs/Web/API/Web_Workers_API/Using_web_workers diff --git a/files/fr/web/api/websocket/onclose/index.md b/files/fr/conflicting/web/api/websocket/close_event/index.md index 6fa1d347a2..1e33662e9e 100644 --- a/files/fr/web/api/websocket/onclose/index.md +++ b/files/fr/conflicting/web/api/websocket/close_event/index.md @@ -1,6 +1,7 @@ --- title: WebSocket.onclose -slug: Web/API/WebSocket/onclose +slug: conflicting/Web/API/WebSocket/close_event +original_slug: Web/API/WebSocket/onclose browser-compat: api.WebSocket.onclose --- {{APIRef("Web Sockets API")}} diff --git a/files/fr/web/api/websocket/onerror/index.md b/files/fr/conflicting/web/api/websocket/error_event/index.md index d533a031db..bdcdb1fda1 100644 --- a/files/fr/web/api/websocket/onerror/index.md +++ b/files/fr/conflicting/web/api/websocket/error_event/index.md @@ -1,6 +1,7 @@ --- title: WebSocket.onerror -slug: Web/API/WebSocket/onerror +slug: conflicting/Web/API/WebSocket/error_event +original_slug: Web/API/WebSocket/onerror browser-compat: api.WebSocket.onerror --- {{APIRef("Web Sockets API")}} diff --git a/files/fr/web/api/websocket/onmessage/index.md b/files/fr/conflicting/web/api/websocket/message_event/index.md index aa71dcccbf..7db7fe70a1 100644 --- a/files/fr/web/api/websocket/onmessage/index.md +++ b/files/fr/conflicting/web/api/websocket/message_event/index.md @@ -1,6 +1,7 @@ --- title: WebSocket.onmessage -slug: Web/API/WebSocket/onmessage +slug: conflicting/Web/API/WebSocket/message_event +original_slug: Web/API/WebSocket/onmessage browser-compat: api.WebSocket.onmessage --- {{APIRef("Web Sockets API")}} diff --git a/files/fr/web/api/websocket/onopen/index.md b/files/fr/conflicting/web/api/websocket/open_event/index.md index 90acf4f1f1..51d386206a 100644 --- a/files/fr/web/api/websocket/onopen/index.md +++ b/files/fr/conflicting/web/api/websocket/open_event/index.md @@ -1,6 +1,7 @@ --- title: WebSocket.onopen -slug: Web/API/WebSocket/onopen +slug: conflicting/Web/API/WebSocket/open_event +original_slug: Web/API/WebSocket/onopen browser-compat: api.WebSocket.onopen --- {{APIRef("Web Sockets API")}} diff --git a/files/ja/_redirects.txt b/files/ja/_redirects.txt index dc18833882..581c7efb46 100644 --- a/files/ja/_redirects.txt +++ b/files/ja/_redirects.txt @@ -3291,6 +3291,10 @@ /ja/docs/Web/API/WebGL_API/Lighting_in_WebGL /ja/docs/Web/API/WebGL_API/Tutorial/Lighting_in_WebGL /ja/docs/Web/API/WebGL_API/Using_shaders_to_apply_color_in_WebGL /ja/docs/Web/API/WebGL_API/Tutorial/Using_shaders_to_apply_color_in_WebGL /ja/docs/Web/API/WebGL_API/Using_textures_in_WebGL /ja/docs/Web/API/WebGL_API/Tutorial/Using_textures_in_WebGL +/ja/docs/Web/API/WebSocket/onclose /ja/docs/conflicting/Web/API/WebSocket/close_event +/ja/docs/Web/API/WebSocket/onerror /ja/docs/conflicting/Web/API/WebSocket/error_event +/ja/docs/Web/API/WebSocket/onmessage /ja/docs/conflicting/Web/API/WebSocket/message_event +/ja/docs/Web/API/WebSocket/onopen /ja/docs/conflicting/Web/API/WebSocket/open_event /ja/docs/Web/API/WebSockets_API/WebSockets_reference /ja/docs/Web/API/WebSockets_API /ja/docs/Web/API/WebVR_API/WebVR_concepts /ja/docs/Web/API/WebVR_API/Concepts /ja/docs/Web/API/Web_Video_Text_Tracks_Format /ja/docs/Web/API/WebVTT_API diff --git a/files/ja/_wikihistory.json b/files/ja/_wikihistory.json index ce326e0fb9..07dd56eff5 100644 --- a/files/ja/_wikihistory.json +++ b/files/ja/_wikihistory.json @@ -23601,32 +23601,6 @@ "mfuji09" ] }, - "Web/API/WebSocket/onclose": { - "modified": "2020-09-25T11:45:51.374Z", - "contributors": [ - "maechabin" - ] - }, - "Web/API/WebSocket/onerror": { - "modified": "2020-10-15T22:27:10.724Z", - "contributors": [ - "mfuji09" - ] - }, - "Web/API/WebSocket/onmessage": { - "modified": "2020-10-15T22:27:03.005Z", - "contributors": [ - "maechabin", - "mfuji09" - ] - }, - "Web/API/WebSocket/onopen": { - "modified": "2020-10-15T22:27:03.150Z", - "contributors": [ - "Mr.Chenzm", - "mfuji09" - ] - }, "Web/API/WebSocket/open_event": { "modified": "2020-10-15T22:27:02.962Z", "contributors": [ @@ -48568,6 +48542,32 @@ "Wind1808" ] }, + "conflicting/Web/API/WebSocket/close_event": { + "modified": "2020-09-25T11:45:51.374Z", + "contributors": [ + "maechabin" + ] + }, + "conflicting/Web/API/WebSocket/error_event": { + "modified": "2020-10-15T22:27:10.724Z", + "contributors": [ + "mfuji09" + ] + }, + "conflicting/Web/API/WebSocket/message_event": { + "modified": "2020-10-15T22:27:03.005Z", + "contributors": [ + "maechabin", + "mfuji09" + ] + }, + "conflicting/Web/API/WebSocket/open_event": { + "modified": "2020-10-15T22:27:03.150Z", + "contributors": [ + "Mr.Chenzm", + "mfuji09" + ] + }, "conflicting/Web/API/Window/scroll": { "modified": "2020-10-15T22:32:16.096Z", "contributors": [ diff --git a/files/ja/web/api/websocket/onclose/index.html b/files/ja/conflicting/web/api/websocket/close_event/index.html index 4e029f4167..79582e481c 100644 --- a/files/ja/web/api/websocket/onclose/index.html +++ b/files/ja/conflicting/web/api/websocket/close_event/index.html @@ -1,7 +1,8 @@ --- title: WebSocket.onclose -slug: Web/API/WebSocket/onclose +slug: conflicting/Web/API/WebSocket/close_event translation_of: Web/API/WebSocket/onclose +original_slug: Web/API/WebSocket/onclose --- <p>{{APIRef("Web Sockets API")}}</p> diff --git a/files/ja/web/api/websocket/onerror/index.html b/files/ja/conflicting/web/api/websocket/error_event/index.html index 982851b486..d208a820c6 100644 --- a/files/ja/web/api/websocket/onerror/index.html +++ b/files/ja/conflicting/web/api/websocket/error_event/index.html @@ -1,6 +1,6 @@ --- title: WebSocket.onerror -slug: Web/API/WebSocket/onerror +slug: conflicting/Web/API/WebSocket/error_event tags: - API - Connection @@ -14,6 +14,7 @@ tags: - onerror - プロパティ translation_of: Web/API/WebSocket/onerror +original_slug: Web/API/WebSocket/onerror --- <div>{{APIRef("Web Sockets API")}}</div> diff --git a/files/ja/web/api/websocket/onmessage/index.html b/files/ja/conflicting/web/api/websocket/message_event/index.html index f901d3f79f..e1888a6245 100644 --- a/files/ja/web/api/websocket/onmessage/index.html +++ b/files/ja/conflicting/web/api/websocket/message_event/index.html @@ -1,6 +1,6 @@ --- title: WebSocket.onmessage -slug: Web/API/WebSocket/onmessage +slug: conflicting/Web/API/WebSocket/message_event tags: - API - Property @@ -9,6 +9,7 @@ tags: - WebSocket - プロパティ translation_of: Web/API/WebSocket/onmessage +original_slug: Web/API/WebSocket/onmessage --- <div>{{APIRef("Web Sockets API")}}</div> diff --git a/files/ja/web/api/websocket/onopen/index.html b/files/ja/conflicting/web/api/websocket/open_event/index.html index 79d4dcf2df..451ad8d6b6 100644 --- a/files/ja/web/api/websocket/onopen/index.html +++ b/files/ja/conflicting/web/api/websocket/open_event/index.html @@ -1,6 +1,6 @@ --- title: WebSocket.onopen -slug: Web/API/WebSocket/onopen +slug: conflicting/Web/API/WebSocket/open_event tags: - API - Property @@ -9,6 +9,7 @@ tags: - WebSocket - プロパティ translation_of: Web/API/WebSocket/onopen +original_slug: Web/API/WebSocket/onopen --- <div>{{APIRef("Web Sockets API")}}</div> diff --git a/files/zh-cn/_redirects.txt b/files/zh-cn/_redirects.txt index 7450d3a190..70c0330c9b 100644 --- a/files/zh-cn/_redirects.txt +++ b/files/zh-cn/_redirects.txt @@ -1515,6 +1515,10 @@ /zh-CN/docs/Web/API/WebGLRenderingContext/多边形偏移(polygonOffset) /zh-CN/docs/Web/API/WebGLRenderingContext/polygonOffset /zh-CN/docs/Web/API/WebGL_API/Adding_2D_content_to_a_WebGL_context /zh-CN/docs/Web/API/WebGL_API/Tutorial/Adding_2D_content_to_a_WebGL_context /zh-CN/docs/Web/API/WebGL_API/Getting_started_with_WebGL /zh-CN/docs/Web/API/WebGL_API/Tutorial/Getting_started_with_WebGL +/zh-CN/docs/Web/API/WebSocket/onclose /zh-CN/docs/Web/API/WebSocket/close_event +/zh-CN/docs/Web/API/WebSocket/onerror /zh-CN/docs/conflicting/Web/API/WebSocket/error_event +/zh-CN/docs/Web/API/WebSocket/onmessage /zh-CN/docs/conflicting/Web/API/WebSocket/message_event +/zh-CN/docs/Web/API/WebSocket/onopen /zh-CN/docs/Web/API/WebSocket/open_event /zh-CN/docs/Web/API/WebSocket/二进制类型 /zh-CN/docs/Web/API/WebSocket/binaryType /zh-CN/docs/Web/API/WebVR_API/WebVR_concepts /zh-CN/docs/Web/API/WebVR_API/Concepts /zh-CN/docs/Web/API/Web_Audio_API/基于Web_Audio_API实现的音频可视化效果 /zh-CN/docs/Web/API/Web_Audio_API/Visualizations_with_Web_Audio_API diff --git a/files/zh-cn/_wikihistory.json b/files/zh-cn/_wikihistory.json index 48f41f997c..5b817efe66 100644 --- a/files/zh-cn/_wikihistory.json +++ b/files/zh-cn/_wikihistory.json @@ -22192,6 +22192,13 @@ "en20" ] }, + "Web/API/WebSocket/close_event": { + "modified": "2019-08-17T08:15:18.133Z", + "contributors": [ + "lihuakkk", + "FlyingPig" + ] + }, "Web/API/WebSocket/error_event": { "modified": "2020-10-15T22:32:26.989Z", "contributors": [ @@ -22214,30 +22221,7 @@ "Firefox_mozilla" ] }, - "Web/API/WebSocket/onclose": { - "modified": "2019-08-17T08:15:18.133Z", - "contributors": [ - "lihuakkk", - "FlyingPig" - ] - }, - "Web/API/WebSocket/onerror": { - "modified": "2020-10-15T22:12:36.891Z", - "contributors": [ - "sntkwtjf", - "Firefox_mozilla", - "HIKALU-Z" - ] - }, - "Web/API/WebSocket/onmessage": { - "modified": "2020-10-15T22:11:41.439Z", - "contributors": [ - "hishark", - "caslt", - "Ray-Eldath" - ] - }, - "Web/API/WebSocket/onopen": { + "Web/API/WebSocket/open_event": { "modified": "2020-10-15T22:12:40.029Z", "contributors": [ "Mr.Chenzm", @@ -47276,6 +47260,22 @@ "alayasix" ] }, + "conflicting/Web/API/WebSocket/error_event": { + "modified": "2020-10-15T22:12:36.891Z", + "contributors": [ + "sntkwtjf", + "Firefox_mozilla", + "HIKALU-Z" + ] + }, + "conflicting/Web/API/WebSocket/message_event": { + "modified": "2020-10-15T22:11:41.439Z", + "contributors": [ + "hishark", + "caslt", + "Ray-Eldath" + ] + }, "conflicting/Web/API/Web_Storage_API": { "modified": "2019-03-24T00:14:59.754Z", "contributors": [ diff --git a/files/zh-cn/web/api/websocket/onerror/index.html b/files/zh-cn/conflicting/web/api/websocket/error_event/index.html index 996ad55472..8cf8d972f4 100644 --- a/files/zh-cn/web/api/websocket/onerror/index.html +++ b/files/zh-cn/conflicting/web/api/websocket/error_event/index.html @@ -1,7 +1,8 @@ --- title: WebSocket.onerror -slug: Web/API/WebSocket/onerror +slug: conflicting/Web/API/WebSocket/error_event translation_of: Web/API/WebSocket/onerror +original_slug: Web/API/WebSocket/onerror --- <p>{{APIRef("Web Sockets API")}}</p> diff --git a/files/zh-cn/web/api/websocket/onmessage/index.html b/files/zh-cn/conflicting/web/api/websocket/message_event/index.html index 4bdcb51039..ae8fa9c3bd 100644 --- a/files/zh-cn/web/api/websocket/onmessage/index.html +++ b/files/zh-cn/conflicting/web/api/websocket/message_event/index.html @@ -1,6 +1,6 @@ --- title: WebSocket.onmessage -slug: Web/API/WebSocket/onmessage +slug: conflicting/Web/API/WebSocket/message_event tags: - API - Web API @@ -8,6 +8,7 @@ tags: - 参考 - 属性 translation_of: Web/API/WebSocket/onmessage +original_slug: Web/API/WebSocket/onmessage --- <p>{{APIRef("Web Sockets API")}}</p> diff --git a/files/zh-cn/web/api/websocket/onclose/index.html b/files/zh-cn/web/api/websocket/close_event/index.html index 0ed1b7ffe1..b168dace44 100644 --- a/files/zh-cn/web/api/websocket/onclose/index.html +++ b/files/zh-cn/web/api/websocket/close_event/index.html @@ -1,7 +1,8 @@ --- title: WebSocket.onclose -slug: Web/API/WebSocket/onclose +slug: Web/API/WebSocket/close_event translation_of: Web/API/WebSocket/onclose +original_slug: Web/API/WebSocket/onclose --- <p>{{APIRef("Web Sockets API")}}</p> diff --git a/files/zh-cn/web/api/websocket/onopen/index.html b/files/zh-cn/web/api/websocket/open_event/index.html index 067c9057bc..a0d5e78dc7 100644 --- a/files/zh-cn/web/api/websocket/onopen/index.html +++ b/files/zh-cn/web/api/websocket/open_event/index.html @@ -1,7 +1,8 @@ --- title: WebSocket.onopen -slug: Web/API/WebSocket/onopen +slug: Web/API/WebSocket/open_event translation_of: Web/API/WebSocket/onopen +original_slug: Web/API/WebSocket/onopen --- <p><strong><code>WebSocket.onopen</code></strong>属性定义一个事件处理程序,当{{domxref("WebSocket")}} 的连接状态{{domxref("WebSocket.readyState","readyState")}} 变为{{domxref("WebSocket.readyState","1")}}时调用;这意味着当前连接已经准备好发送和接受数据。这个事件处理程序通过 {{domxref("事件")}}(建立连接时)触发。</p> |