diff options
author | Florian Merz <me@fiji-flo.de> | 2021-02-11 12:56:40 +0100 |
---|---|---|
committer | Florian Merz <me@fiji-flo.de> | 2021-02-11 12:56:40 +0100 |
commit | 310fd066e91f454b990372ffa30e803cc8120975 (patch) | |
tree | d5d900deb656a5da18e0b60d00f0db73f3a2e88e /files/zh-cn/web/api/devicemotioneventacceleration/index.html | |
parent | 8260a606c143e6b55a467edf017a56bdcd6cba7e (diff) | |
download | translated-content-310fd066e91f454b990372ffa30e803cc8120975.tar.gz translated-content-310fd066e91f454b990372ffa30e803cc8120975.tar.bz2 translated-content-310fd066e91f454b990372ffa30e803cc8120975.zip |
unslug zh-cn: move
Diffstat (limited to 'files/zh-cn/web/api/devicemotioneventacceleration/index.html')
-rw-r--r-- | files/zh-cn/web/api/devicemotioneventacceleration/index.html | 47 |
1 files changed, 47 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..34b215d781 --- /dev/null +++ b/files/zh-cn/web/api/devicemotioneventacceleration/index.html @@ -0,0 +1,47 @@ +--- +title: DeviceAcceleration +slug: Web/API/DeviceAcceleration +tags: + - API + - 传感器 + - 实验性 + - 接口 + - 需要示例 +translation_of: Web/API/DeviceMotionEventAcceleration +translation_of_original: 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> |