diff options
Diffstat (limited to 'files/ru/web/api/gamepadbutton/pressed')
-rw-r--r-- | files/ru/web/api/gamepadbutton/pressed/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ru/web/api/gamepadbutton/pressed/index.html b/files/ru/web/api/gamepadbutton/pressed/index.html index 4367d055a6..999b15582d 100644 --- a/files/ru/web/api/gamepadbutton/pressed/index.html +++ b/files/ru/web/api/gamepadbutton/pressed/index.html @@ -7,7 +7,7 @@ translation_of: Web/API/GamepadButton/pressed <p>Свойство <code><strong>GamepadButton.pressed</strong></code> интерфейса {{domxref("GamepadButton")}} возвращает <code>boolean</code>, указывающий, нажата ли текущая кнопка (<code>true</code>), или нет (<code>false</code>).</p> -<h2 id="Синтакс">Синтакс</h2> +<h2 id="Синтаксис">Синтаксис</h2> <pre class="syntaxbox notranslate"><span class="idlInterface" id="idl-def-GamepadButton"><span class="idlAttribute">var isPressed = navigator.getGamepads()[0].pressed; </span></span></pre> |