aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/userproximityevent
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/api/userproximityevent
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/web/api/userproximityevent')
-rw-r--r--files/ja/web/api/userproximityevent/index.html53
-rw-r--r--files/ja/web/api/userproximityevent/near/index.html52
2 files changed, 105 insertions, 0 deletions
diff --git a/files/ja/web/api/userproximityevent/index.html b/files/ja/web/api/userproximityevent/index.html
new file mode 100644
index 0000000000..98cd8cf3e0
--- /dev/null
+++ b/files/ja/web/api/userproximityevent/index.html
@@ -0,0 +1,53 @@
+---
+title: UserProximityEvent
+slug: Web/API/UserProximityEvent
+tags:
+ - API
+ - Experimental
+ - Interface
+ - Proximity Events
+translation_of: Web/API/UserProximityEvent
+---
+<p>{{APIRef("Proximity Events")}}{{SeeCompatTable}}</p>
+
+<p><code>UserProximityEvent</code> は、端末の近接センサーによって、端末の近くに物体が存在するかどうかを示します。</p>
+
+<h2 id="Properties" name="Properties">プロパティ</h2>
+
+<dl>
+ <dt>{{domxref("UserProximityEvent.near")}}</dt>
+ <dd>端末が近くの物体を検知したかどうかを示す真偽値を返す</dd>
+</dl>
+
+<h2 id="Specifications" name="Specifications">仕様書</h2>
+
+<table class="standard-table" style="height: 49px; width: 1000px;">
+ <thead>
+ <tr>
+ <th scope="col">仕様書</th>
+ <th scope="col">状態</th>
+ <th scope="col">備考</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('Proximity Events', '', 'Proximity Events')}}</td>
+ <td>{{Spec2('Proximity Events')}}</td>
+ <td>初回定義</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの対応</h2>
+
+<p class="hidden">このページの互換性一覧表は構造化データから生成されています。データに協力していただけるのであれば、 <a class="external" href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックアウトしてプルリクエストを送信してください。</p>
+
+<p>{{Compat("api.UserProximityEvent")}}</p>
+
+<h2 id="See_also" name="See_also">関連情報</h2>
+
+<ul>
+ <li>{{event("userproximity")}}</li>
+ <li>{{domxref("DeviceProximityEvent")}}</li>
+ <li><a href="/ja/docs/WebAPI/Proximity">Proximity Events</a></li>
+</ul>
diff --git a/files/ja/web/api/userproximityevent/near/index.html b/files/ja/web/api/userproximityevent/near/index.html
new file mode 100644
index 0000000000..00ca322379
--- /dev/null
+++ b/files/ja/web/api/userproximityevent/near/index.html
@@ -0,0 +1,52 @@
+---
+title: UserProximityEvent.near
+slug: Web/API/UserProximityEvent/near
+tags:
+ - B2G
+ - Firefox OS
+ - Proximity
+ - WebAPI
+translation_of: Web/API/UserProximityEvent/near
+---
+<p>{{APIRef("Proximity Events")}}{{obsolete_header}}</p>
+
+<p><code>near</code> プロパティは、デバイスの近くにものがあるかどうか(※近接センサーによる)を示す真偽値を返します。ある場合は <code>true</code> が、無い場合は <code>false</code> が返ります。</p>
+
+<h2 id="Syntax" name="Syntax">構文</h2>
+
+<pre class="syntaxbox">var <var>near</var> = instanceOfUserProximityEvent.near;</pre>
+
+<h2 id="Value" name="Value">値</h2>
+
+<p>真偽値</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', '#user-proximity', 'Proximity Events')}}</td>
+ <td>{{Spec2('Proximity Events')}}</td>
+ <td>最初期の定義</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザ実装状況</h2>
+
+
+
+<p>{{Compat("api.UserProximityEvent.near")}}</p>
+
+<h2 id="関連情報">関連情報</h2>
+
+<ul>
+ <li>{{domxref("UserProximityEvent")}}</li>
+</ul>