aboutsummaryrefslogtreecommitdiff
path: root/files/ja/orphaned/web/api/window/ondeviceproximity
diff options
context:
space:
mode:
authorMDN <actions@users.noreply.github.com>2021-04-28 00:11:21 +0000
committerMDN <actions@users.noreply.github.com>2021-04-28 00:11:21 +0000
commit641a75fbc5a15724440dce3fc41c92cb1ef23699 (patch)
tree08f4322484cc405a57ae2949fe88ca812667fdeb /files/ja/orphaned/web/api/window/ondeviceproximity
parent4c4eb4c4f905cef32b77d0c61205e36121d75559 (diff)
downloadtranslated-content-641a75fbc5a15724440dce3fc41c92cb1ef23699.tar.gz
translated-content-641a75fbc5a15724440dce3fc41c92cb1ef23699.tar.bz2
translated-content-641a75fbc5a15724440dce3fc41c92cb1ef23699.zip
[CRON] sync translated content
Diffstat (limited to 'files/ja/orphaned/web/api/window/ondeviceproximity')
-rw-r--r--files/ja/orphaned/web/api/window/ondeviceproximity/index.html54
1 files changed, 54 insertions, 0 deletions
diff --git a/files/ja/orphaned/web/api/window/ondeviceproximity/index.html b/files/ja/orphaned/web/api/window/ondeviceproximity/index.html
new file mode 100644
index 0000000000..1ab860d64c
--- /dev/null
+++ b/files/ja/orphaned/web/api/window/ondeviceproximity/index.html
@@ -0,0 +1,54 @@
+---
+title: Window.ondeviceproximity
+slug: orphaned/Web/API/Window/ondeviceproximity
+tags:
+ - API
+ - Event Handler
+ - Experimental
+ - Property
+ - Proximitiy Event
+ - Reference
+ - Window
+translation_of: Web/API/Window/ondeviceproximity
+original_slug: Web/API/Window/ondeviceproximity
+---
+<p>{{ ApiRef() }}</p>
+
+<p>{{event("deviceproximity")}} イベントを受け取るイベントリスナーを指定します。これらのイベントは、デバイスセンサーが、物がデバイスに近づいたこと、または離れたことを検知したときに発生します。</p>
+
+<h2 id="構文">構文</h2>
+
+<pre>window.onuserproximity = <em>funcRef</em></pre>
+
+<p><code><em>funcRef</em></code> は、{{event("deviceproximity")}} イベントが発生したときに呼び出される関数です。これらは {{domxref("DeviceProximityEvent")}} 型のイベントです。</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('Proximity Events', '#device-proximity', 'Proximity Events') }}</td>
+ <td>{{ Spec2('Proximity Events') }}</td>
+ <td>初期定義。</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="ブラウザー実装状況">ブラウザー実装状況</h2>
+
+<p>{{Compat("api.Window.ondeviceproximity")}}</p>
+
+<h2 id="関連項目">関連項目</h2>
+
+<ul>
+ <li>{{event("deviceproximity")}}</li>
+ <li>{{domxref("DeviceProximityEvent")}}</li>
+ <li><a href="/ja/docs/WebAPI/Proximity" title="/ja/docs/WebAPI/Proximity">Proximity API</a></li>
+</ul>