From c32682b053bad2602a8c910cc7e4106acaefade1 Mon Sep 17 00:00:00 2001 From: MDN Date: Fri, 18 Mar 2022 00:13:02 +0000 Subject: [CRON] sync translated content --- .../web/api/window/devicemotion_event/index.html | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 files/ja/conflicting/web/api/window/devicemotion_event/index.html (limited to 'files/ja/conflicting/web/api/window/devicemotion_event') diff --git a/files/ja/conflicting/web/api/window/devicemotion_event/index.html b/files/ja/conflicting/web/api/window/devicemotion_event/index.html new file mode 100644 index 0000000000..7c0b782d06 --- /dev/null +++ b/files/ja/conflicting/web/api/window/devicemotion_event/index.html @@ -0,0 +1,60 @@ +--- +title: Window.ondevicemotion +slug: conflicting/Web/API/Window/devicemotion_event +tags: + - API + - Device Orientation + - Event Handler + - Mobile + - Motion + - Orientation + - Property + - Reference + - イベントハンドラー + - プロパティ + - モバイル + - 向き + - 端末の向き +translation_of: Web/API/Window/ondevicemotion +original_slug: Web/API/Window/ondevicemotion +--- +
{{APIRef("Device Orientation Events")}}
+ +

Windows に対して送信される {{domxref("Window/devicemotion_event", "devicemotion")}} イベントのためのイベントハンドラーです。

+ +

構文

+ +
window.ondevicemotion = funcRef;
+ +

funcRef のところは関数への参照です。この関数は発生した動きを説明する {{DOMxRef("DeviceMotionEvent")}} オブジェクトを受け取ります。

+ +

仕様書

+ + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName("Device Orientation")}}{{Spec2("Device Orientation")}}Initial definition.
+ +

ブラウザーの互換性

+ +

{{Compat("api.Window.ondevicemotion")}}

+ +

関連情報

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