From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/api/window/ondevicelight/index.html | 57 ++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 files/ja/web/api/window/ondevicelight/index.html (limited to 'files/ja/web/api/window/ondevicelight') diff --git a/files/ja/web/api/window/ondevicelight/index.html b/files/ja/web/api/window/ondevicelight/index.html new file mode 100644 index 0000000000..e0a19b3ccb --- /dev/null +++ b/files/ja/web/api/window/ondevicelight/index.html @@ -0,0 +1,57 @@ +--- +title: window.ondevicelight +slug: Web/API/Window/ondevicelight +tags: + - Ambient Light + - B2G + - Firefox OS + - WebAPI + - Window +translation_of: Web/API/Window/ondevicelight +--- +

{{ApiRef}} {{obsolete_header}} 

+ +

デバイスの環境光センサが光の強度の変化を検出した際に発生する {{event("devicelight")}} イベントを受け取るイベントリスナーを指定します。

+ +

構文

+ +
window.ondevicelight = funcRef
+ + + +

仕様

+ + + + + + + + + + + + + + + + +
仕様書策定状況コメント
{{SpecName('AmbientLight', '#event-handlers', 'Ambient Light Events')}}{{Spec2('AmbientLight')}}最初期の定義
+ +

ブラウザ実装状況

+ +
+ + +

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

+
+ +

関連情報

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