From 785c0b7c8adc9e73cfd07817009c4437255c9398 Mon Sep 17 00:00:00 2001 From: MDN Date: Wed, 10 Mar 2021 16:18:46 +0000 Subject: [CRON] sync translated content --- .../web/api/document/pointerlockelement/index.html | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 files/ja/web/api/document/pointerlockelement/index.html (limited to 'files/ja/web/api/document/pointerlockelement') diff --git a/files/ja/web/api/document/pointerlockelement/index.html b/files/ja/web/api/document/pointerlockelement/index.html new file mode 100644 index 0000000000..6b6afcd8e5 --- /dev/null +++ b/files/ja/web/api/document/pointerlockelement/index.html @@ -0,0 +1,61 @@ +--- +title: DocumentOrShadowRoot.pointerLockElement +slug: Web/API/Document/pointerLockElement +tags: + - API + - DOM + - Document + - Property + - Reference + - ShadowRoot + - mouse lock + - プロパティ + - マウスロック +translation_of: Web/API/DocumentOrShadowRoot/pointerLockElement +original_slug: Web/API/DocumentOrShadowRoot/pointerLockElement +--- +
{{APIRef("DOM")}}
+ +

pointerLockElement は {{domxref("Document")}} および {{domxref("ShadowRoot")}} インターフェイスのプロパティで、要素をポインターがロックされている間のマウスイベントの対象として設定します。ロック待ち状態の場合、ポインターがロックされていない場合、対象が他の文書にある場合は null になります。

+ +

構文

+ +
var element = document.pointerLockElement;
+
+ +

返値

+ +

{{domxref("Element")}} または null

+ +

仕様書

+ + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName('Pointer Lock','#extensions-to-the-documentorshadowroot-mixin','pointerLockElement')}}{{Spec2('Pointer Lock')}}Document インターフェイスを拡張
+ +

ブラウザーの互換性

+ + + +

{{Compat("api.DocumentOrShadowRoot.pointerLockElement")}}

+ +

関連情報

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