From a617ec8afec43949849163167daaf51a60d2b298 Mon Sep 17 00:00:00 2001 From: MDN Date: Sun, 13 Feb 2022 00:57:20 +0000 Subject: [CRON] sync translated content --- files/ru/_redirects.txt | 2 ++ files/ru/_wikihistory.json | 24 ++++++------- .../api/window/gamepadconnected_event/index.html | 40 ++++++++++++++++++++++ .../window/gamepaddisconnected_event/index.html | 39 +++++++++++++++++++++ .../web/api/window/ongamepadconnected/index.html | 39 --------------------- .../api/window/ongamepaddisconnected/index.html | 38 -------------------- 6 files changed, 93 insertions(+), 89 deletions(-) create mode 100644 files/ru/conflicting/web/api/window/gamepadconnected_event/index.html create mode 100644 files/ru/conflicting/web/api/window/gamepaddisconnected_event/index.html delete mode 100644 files/ru/web/api/window/ongamepadconnected/index.html delete mode 100644 files/ru/web/api/window/ongamepaddisconnected/index.html (limited to 'files/ru') diff --git a/files/ru/_redirects.txt b/files/ru/_redirects.txt index e7eb0f6a6e..2f010dde80 100644 --- a/files/ru/_redirects.txt +++ b/files/ru/_redirects.txt @@ -379,6 +379,8 @@ /ru/docs/Web/API/WebRTC_API/связь /ru/docs/Web/API/WebRTC_API/Connectivity /ru/docs/Web/API/Window/crypto /ru/docs/Web/API/crypto_property /ru/docs/Web/API/Window/mozAnimationStartTime /ru/docs/Web/API/Animation/startTime +/ru/docs/Web/API/Window/ongamepadconnected /ru/docs/conflicting/Web/API/Window/gamepadconnected_event +/ru/docs/Web/API/Window/ongamepaddisconnected /ru/docs/conflicting/Web/API/Window/gamepaddisconnected_event /ru/docs/Web/API/Window/performance /ru/docs/Web/API/performance_property /ru/docs/Web/API/WindowBase64/Base64_encoding_and_decoding /ru/docs/Glossary/Base64 /ru/docs/Web/API/WindowBase64/btoa /ru/docs/Web/API/btoa diff --git a/files/ru/_wikihistory.json b/files/ru/_wikihistory.json index fd690347f2..a46230ec2c 100644 --- a/files/ru/_wikihistory.json +++ b/files/ru/_wikihistory.json @@ -11321,18 +11321,6 @@ "timur-gilauri" ] }, - "Web/API/Window/ongamepadconnected": { - "modified": "2020-11-17T12:43:15.635Z", - "contributors": [ - "venanen" - ] - }, - "Web/API/Window/ongamepaddisconnected": { - "modified": "2020-11-17T12:45:18.585Z", - "contributors": [ - "venanen" - ] - }, "Web/API/Window/onpaint": { "modified": "2019-03-23T22:08:47.903Z", "contributors": [ @@ -24241,6 +24229,18 @@ "akhabibullina" ] }, + "conflicting/Web/API/Window/gamepadconnected_event": { + "modified": "2020-11-17T12:43:15.635Z", + "contributors": [ + "venanen" + ] + }, + "conflicting/Web/API/Window/gamepaddisconnected_event": { + "modified": "2020-11-17T12:45:18.585Z", + "contributors": [ + "venanen" + ] + }, "conflicting/Web/API/Window/localStorage": { "modified": "2019-03-23T22:05:00.067Z", "contributors": [ diff --git a/files/ru/conflicting/web/api/window/gamepadconnected_event/index.html b/files/ru/conflicting/web/api/window/gamepadconnected_event/index.html new file mode 100644 index 0000000000..f6ff1a3474 --- /dev/null +++ b/files/ru/conflicting/web/api/window/gamepadconnected_event/index.html @@ -0,0 +1,40 @@ +--- +title: Window.ongamepadconnected +slug: conflicting/Web/API/Window/gamepadconnected_event +translation_of: Web/API/Window/ongamepadconnected +original_slug: Web/API/Window/ongamepadconnected +--- +
{{DefaultAPISidebar("Gamepad API")}}{{SeeCompatTable}}
+ +

Свойство ongamepadconnected интерфейса {{domxref("Window")}} представляет собой обработчик, который будет запущен при подключении геймпада (когда событие  {{event('gamepadconnected')}} запустится).

+ +

Тип объекта события - {{domxref("GamepadEvent")}}.

+ +

Синтаксис

+ +
window.ongamepadconnected = function() { ... };
+
+ +

Пример

+ +
window.ongamepadconnected = function(event) {
+  // All buttons and axes values can be accessed through
+  event.gamepad;
+};
+ +

Спецификация

+ +{{Specifications}} + +

Browser compatibility

+ + + +

{{Compat}}

+ +

Смотрите также

+ + diff --git a/files/ru/conflicting/web/api/window/gamepaddisconnected_event/index.html b/files/ru/conflicting/web/api/window/gamepaddisconnected_event/index.html new file mode 100644 index 0000000000..411e9eea24 --- /dev/null +++ b/files/ru/conflicting/web/api/window/gamepaddisconnected_event/index.html @@ -0,0 +1,39 @@ +--- +title: Window.ongamepaddisconnected +slug: conflicting/Web/API/Window/gamepaddisconnected_event +translation_of: Web/API/Window/ongamepaddisconnected +original_slug: Web/API/Window/ongamepaddisconnected +--- +
{{DefaultAPISidebar("Gamepad API")}}{{SeeCompatTable}}
+ +

Свойство ongamepaddisconnected интерфейса {{domxref("Window")}} представляет собой обработчик события, который будет вызван при отключении геймпада (когда сработает событие {{event('gamepaddisconnected')}}).

+ +

Тип объекта события {{domxref("GamepadEvent")}}.

+ +

Синтаксис

+ +
window.ongamepaddisconnected = function() { ... };
+
+ +

Пример

+ +
window.ongamepaddisconnected = function() {
+  // A gamepad has been disconnected
+};
+ +

Спецификация

+ +{{Specifications}} + +

Браузерная совместимость

+ + + +

{{Compat}}

+ +

Смотрите также

+ + diff --git a/files/ru/web/api/window/ongamepadconnected/index.html b/files/ru/web/api/window/ongamepadconnected/index.html deleted file mode 100644 index 758fed2d2d..0000000000 --- a/files/ru/web/api/window/ongamepadconnected/index.html +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: Window.ongamepadconnected -slug: Web/API/Window/ongamepadconnected -translation_of: Web/API/Window/ongamepadconnected ---- -
{{DefaultAPISidebar("Gamepad API")}}{{SeeCompatTable}}
- -

Свойство ongamepadconnected интерфейса {{domxref("Window")}} представляет собой обработчик, который будет запущен при подключении геймпада (когда событие  {{event('gamepadconnected')}} запустится).

- -

Тип объекта события - {{domxref("GamepadEvent")}}.

- -

Синтаксис

- -
window.ongamepadconnected = function() { ... };
-
- -

Пример

- -
window.ongamepadconnected = function(event) {
-  // All buttons and axes values can be accessed through
-  event.gamepad;
-};
- -

Спецификация

- -{{Specifications}} - -

Browser compatibility

- - - -

{{Compat}}

- -

Смотрите также

- - diff --git a/files/ru/web/api/window/ongamepaddisconnected/index.html b/files/ru/web/api/window/ongamepaddisconnected/index.html deleted file mode 100644 index 26390e5430..0000000000 --- a/files/ru/web/api/window/ongamepaddisconnected/index.html +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: Window.ongamepaddisconnected -slug: Web/API/Window/ongamepaddisconnected -translation_of: Web/API/Window/ongamepaddisconnected ---- -
{{DefaultAPISidebar("Gamepad API")}}{{SeeCompatTable}}
- -

Свойство ongamepaddisconnected интерфейса {{domxref("Window")}} представляет собой обработчик события, который будет вызван при отключении геймпада (когда сработает событие {{event('gamepaddisconnected')}}).

- -

Тип объекта события {{domxref("GamepadEvent")}}.

- -

Синтаксис

- -
window.ongamepaddisconnected = function() { ... };
-
- -

Пример

- -
window.ongamepaddisconnected = function() {
-  // A gamepad has been disconnected
-};
- -

Спецификация

- -{{Specifications}} - -

Браузерная совместимость

- - - -

{{Compat}}

- -

Смотрите также

- - -- cgit v1.2.3-54-g00ecf