diff options
author | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-07-30 12:52:49 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 12:52:49 +0900 |
commit | 4307c2c244d8104a663258a54cc5fc8a1e50a3c7 (patch) | |
tree | 91fb42d944c1fc07577ca1673dfc1486854332b3 /files/ja/orphaned/web/api/devicelightevent | |
parent | 83066369c9c1e7c1150174feca942b0a8afdee0d (diff) | |
download | translated-content-4307c2c244d8104a663258a54cc5fc8a1e50a3c7.tar.gz translated-content-4307c2c244d8104a663258a54cc5fc8a1e50a3c7.tar.bz2 translated-content-4307c2c244d8104a663258a54cc5fc8a1e50a3c7.zip |
devicelight イベント関連の文書を削除 (#1585)
orphaned/Web/API/DeviceLightEvent は廃止されたインターフェイスなので削除
devicelight イベント関連の文書を削除
Diffstat (limited to 'files/ja/orphaned/web/api/devicelightevent')
-rw-r--r-- | files/ja/orphaned/web/api/devicelightevent/index.html | 57 | ||||
-rw-r--r-- | files/ja/orphaned/web/api/devicelightevent/value/index.html | 58 |
2 files changed, 0 insertions, 115 deletions
diff --git a/files/ja/orphaned/web/api/devicelightevent/index.html b/files/ja/orphaned/web/api/devicelightevent/index.html deleted file mode 100644 index b8cf0558dd..0000000000 --- a/files/ja/orphaned/web/api/devicelightevent/index.html +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: DeviceLightEvent -slug: orphaned/Web/API/DeviceLightEvent -tags: - - API - - Ambient Light Events - - Experimental - - Interface -translation_of: Web/API/DeviceLightEvent -original_slug: Web/API/DeviceLightEvent ---- -<div>{{apiref("Ambient Light Events")}}{{SeeCompatTable}}</div> - -<p><code>DeviceLightEvent</code> は、端末付近の環境光のレベルについての情報を、写真センサーやそれと類似した検知機を通してウェブ開発者に提供します。たとえば、このイベントは、エネルギーを節約したり、より良い視認性を提供したりするために、現在の環境光のレベルに応じて画面の明るさを調節するのに役立ちます。</p> - -<h2 id="Properties" name="Properties">プロパティ</h2> - -<dl> - <dt>{{domxref("DeviceLightEvent.value")}}</dt> - <dd>{{interwiki("wikipedia", "ルクス")}}で表した環境光のレベル</dd> -</dl> - -<h2 id="Example" name="Example">例</h2> - -<pre class="brush: js">window.addEventListener('devicelight', function(event) { - console.log(event.value); -});</pre> - -<h2 id="Specifications" name="Specifications">仕様書</h2> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">仕様書</th> - <th scope="col">状態</th> - <th scope="col">備考</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('AmbientLight', '', 'Ambient Light Events')}}</td> - <td>{{Spec2('AmbientLight')}}</td> - <td>初回定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの対応</h2> - -<p>{{Compat("api.DeviceLightEvent")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>{{event("devicelight")}}</li> - <li><a href="/ja/docs/WebAPI/Using_Light_Events">Light Event の使用</a></li> -</ul> diff --git a/files/ja/orphaned/web/api/devicelightevent/value/index.html b/files/ja/orphaned/web/api/devicelightevent/value/index.html deleted file mode 100644 index 558268c276..0000000000 --- a/files/ja/orphaned/web/api/devicelightevent/value/index.html +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: DeviceLightEvent.value -slug: orphaned/Web/API/DeviceLightEvent/value -tags: - - Ambient Light - - B2G - - DOM - - Firefox OS - - WebAPI - - events -translation_of: Web/API/DeviceLightEvent/value -original_slug: Web/API/DeviceLightEvent/value ---- -<p>{{APIRef("Ambient Light Events")}}</p> - -<p><code>DeviceLightEvent</code> の <code>value</code> プロパティは、現在の環境光レベルを提供します。</p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="syntaxbox">var light = instanceOfDeviceLightEvent.value;</pre> - -<h3 id="Value" name="Value">値</h3> - -<p>光強度を表す正数の<a href="http://ja.wikipedia.org/wiki/%E3%83%AB%E3%82%AF%E3%82%B9" title="ルクス - Wikipedia">ルクス</a></p> - -<h2 id="Specifications" name="Specifications">仕様</h2> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">仕様書</th> - <th scope="col">策定状況</th> - <th scope="col">コメント</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('AmbientLight', '', 'Ambient Light Events')}}</td> - <td>{{Spec2('AmbientLight')}}</td> - <td>最初期の定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザ実装状況</h2> - -<div> - - -<p>{{Compat("api.DeviceLightEvent.value")}}</p> -</div> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>{{domxref("DeviceLightEvent")}}</li> - <li><a href="/ja/docs/WebAPI/Using_Light_Events" title="WebAPI/Using_Light_Events">環境光イベントの利用</a></li> -</ul> |