aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/devicemotioneventacceleration/index.html
diff options
context:
space:
mode:
authorFlorian Dieminger <me@fiji-flo.de>2021-02-11 18:29:51 +0100
committerGitHub <noreply@github.com>2021-02-11 18:29:51 +0100
commit2bc5610921312613f8623f7ed347aa576689b2b6 (patch)
treef17a7a00e232c97d1335ff3cb24dbcfafacfe141 /files/zh-cn/web/api/devicemotioneventacceleration/index.html
parent964decad361766e85d928a56f0ab80af0e75c172 (diff)
parentfc56124ac4eda6b3f0349c8a16fa750f27b4c7d6 (diff)
downloadtranslated-content-2bc5610921312613f8623f7ed347aa576689b2b6.tar.gz
translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.tar.bz2
translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.zip
Merge pull request #32 from fiji-flo/unslugging-zh-cn
Unslugging zh cn
Diffstat (limited to 'files/zh-cn/web/api/devicemotioneventacceleration/index.html')
-rw-r--r--files/zh-cn/web/api/devicemotioneventacceleration/index.html48
1 files changed, 48 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/devicemotioneventacceleration/index.html b/files/zh-cn/web/api/devicemotioneventacceleration/index.html
new file mode 100644
index 0000000000..a278374222
--- /dev/null
+++ b/files/zh-cn/web/api/devicemotioneventacceleration/index.html
@@ -0,0 +1,48 @@
+---
+title: DeviceAcceleration
+slug: Web/API/DeviceMotionEventAcceleration
+tags:
+ - API
+ - 传感器
+ - 实验性
+ - 接口
+ - 需要示例
+translation_of: Web/API/DeviceMotionEventAcceleration
+translation_of_original: Web/API/DeviceAcceleration
+original_slug: Web/API/DeviceAcceleration
+---
+<div>{{ ApiRef("Device Orientation Events") }}{{SeeCompatTable}}</div>
+
+<div> </div>
+
+<p><span class="short_text" id="result_box" lang="zh-CN"><span>设备加速对象可以提供有关设备沿三个轴(x、y、z)的加速度的信息。</span></span></p>
+
+<h2 id="属性">属性</h2>
+
+<dl>
+ <dt>{{domxref("DeviceAcceleration.x")}} {{readonlyInline}}</dt>
+ <dd><span class="short_text" id="result_box" lang="zh-CN"><span>沿X轴的加速度量(</span><span>只读)</span></span></dd>
+ <dt>{{domxref("DeviceAcceleration.y")}} {{readonlyInline}}</dt>
+ <dd><span class="short_text" id="result_box" lang="zh-CN"><span>沿Y轴的加速度量(</span><span>只读)</span></span></dd>
+ <dt>{{domxref("DeviceAcceleration.z")}} {{readonlyInline}}</dt>
+ <dd><span class="short_text" id="result_box" lang="zh-CN"><span>沿Z轴的加速度量(</span><span>只读)</span></span></dd>
+</dl>
+
+<h2 id="Specifications" name="Specifications">说明</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comment</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName("Device Orientation", "#device_acceleration", "DeviceAcceleration")}}</td>
+ <td>{{Spec2("Device Orientation")}}</td>
+ <td>Initial definition</td>
+ </tr>
+ </tbody>
+</table>