From a2bf79300cd50f271bfa1e52ab37fa39b93213d7 Mon Sep 17 00:00:00 2001 From: Atsuto Yamashita Date: Sun, 20 Mar 2022 13:36:01 +0900 Subject: user_input_methods で全画面の日本語訳を追加 (#4582) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * user_input_methods で全画面の日本語訳を追加 * リンクを修正 Co-authored-by: Masahiro FUJIMOTO --- files/ja/web/guide/user_input_methods/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/ja/web/guide/user_input_methods/index.html b/files/ja/web/guide/user_input_methods/index.html index 72eacc04d7..421b007993 100644 --- a/files/ja/web/guide/user_input_methods/index.html +++ b/files/ja/web/guide/user_input_methods/index.html @@ -31,8 +31,8 @@ translation_of: Web/Guide/User_input_methods @@ -110,7 +110,7 @@ element.addEventListener("touchmove", handleMove, false);

全画面

-

You might need to present an element of your application (such as a {{ htmlelement("video") }}, for example) in fullscreen mode. You can achieve this by calling {{domxref("Element.requestFullscreen()")}} on that element. Bear in mind that many browsers still implement this with a vendor prefix, so you will probably need to fork your code something like this:

+

あなたのアプリケーションの要素を全画面モードで表示する必要があるかもしれません(例えば {{ htmlelement("video") }} のような)。その要素で {{domxref("Element.requestFullscreen()")}} を呼び出すことによって全画面モードを実現することができます。多くのブラウザーが、これをまだベンダー接頭辞とともに実装していることを覚えておいてください。ですので、あなたのコードを以下のようにフォークする必要があるかもしれません:

var elem = document.getElementById("myvideo");
 if (elem.requestFullscreen) {
@@ -124,7 +124,7 @@ if (elem.requestFullscreen) {
 }
-

: To find more out about adding fullscreen functionality your application, read our documentation about using fullscreen mode.

+

: 全画面の機能性をあなたのアプリケーションに追加することについてもっと知るには、私たちの全画面モードの使用についてのドキュメントを読んでください。

ドラッグ&ドロップ

-- cgit v1.2.3-54-g00ecf