diff options
Diffstat (limited to 'files/zh-cn/web/api/devicemotionevent')
| -rw-r--r-- | files/zh-cn/web/api/devicemotionevent/devicemotionevent/index.html | 4 | ||||
| -rw-r--r-- | files/zh-cn/web/api/devicemotionevent/index.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/files/zh-cn/web/api/devicemotionevent/devicemotionevent/index.html b/files/zh-cn/web/api/devicemotionevent/devicemotionevent/index.html index fcbe9a2864..72de7a63f3 100644 --- a/files/zh-cn/web/api/devicemotionevent/devicemotionevent/index.html +++ b/files/zh-cn/web/api/devicemotionevent/devicemotionevent/index.html @@ -19,8 +19,8 @@ translation_of: Web/API/DeviceMotionEvent/DeviceMotionEvent <dt><code>options</code>{{Optional_Inline}}</dt> <dd>可选项如下: <ul> - <li><code>acceleration</code>: 一个对象,包含设备在X,Y和Z三个轴线上的加速度。加速度的单位为<a href="https://en.wikipedia.org/wiki/Meter_per_second_squared" title="https://en.wikipedia.org/wiki/Meter_per_second_squared">m/s<sup>2</sup></a>.</li> - <li><code>accelerationIncludingGravity</code>: 一个对象,包含设备在X,Y和Z三个轴线上,重力作用下的加速度。加速度的单位为<a href="https://en.wikipedia.org/wiki/Meter_per_second_squared" title="https://en.wikipedia.org/wiki/Meter_per_second_squared">m/s<sup>2</sup></a>.</li> + <li><code>acceleration</code>: 一个对象,包含设备在X,Y和Z三个轴线上的加速度。加速度的单位为<a href="https://en.wikipedia.org/wiki/Meter_per_second_squared">m/s<sup>2</sup></a>.</li> + <li><code>accelerationIncludingGravity</code>: 一个对象,包含设备在X,Y和Z三个轴线上,重力作用下的加速度。加速度的单位为<a href="https://en.wikipedia.org/wiki/Meter_per_second_squared">m/s<sup>2</sup></a>.</li> <li><code>rotationRate</code>: 一个对象,包含设备的定向在三个定向轴alpha, beta 和 gamma上的偏移比率。偏移比率的单位是每秒偏移的角度。</li> <li><code>interval</code>: 时间间隔,单位毫秒,表示设备获取数据的间隔时间。</li> </ul> diff --git a/files/zh-cn/web/api/devicemotionevent/index.html b/files/zh-cn/web/api/devicemotionevent/index.html index 4892a855b9..9e5ffff8d6 100644 --- a/files/zh-cn/web/api/devicemotionevent/index.html +++ b/files/zh-cn/web/api/devicemotionevent/index.html @@ -31,9 +31,9 @@ translation_of: Web/API/DeviceMotionEvent <dl> <dt>{{domxref("DeviceMotionEvent.acceleration")}} {{readonlyinline}}</dt> - <dd>提供了设备在X,Y,Z轴方向上加速度的对象。加速度的单位为 <a href="https://en.wikipedia.org/wiki/Meter_per_second_squared" title="https://en.wikipedia.org/wiki/Meter_per_second_squared">m/s<sup>2</sup></a>。</dd> + <dd>提供了设备在X,Y,Z轴方向上加速度的对象。加速度的单位为 <a href="https://en.wikipedia.org/wiki/Meter_per_second_squared">m/s<sup>2</sup></a>。</dd> <dt>{{domxref("DeviceMotionEvent.accelerationIncludingGravity")}} {{readonlyinline}}</dt> - <dd>提供了设备在X,Y,Z轴方向上带重力的加速度的对象。加速度的单位为 <a href="https://en.wikipedia.org/wiki/Meter_per_second_squared" title="https://en.wikipedia.org/wiki/Meter_per_second_squared">m/s<sup>2</sup></a></dd> + <dd>提供了设备在X,Y,Z轴方向上带重力的加速度的对象。加速度的单位为 <a href="https://en.wikipedia.org/wiki/Meter_per_second_squared">m/s<sup>2</sup></a></dd> <dt>{{domxref("DeviceMotionEvent.rotationRate")}} {{readonlyinline}}</dt> <dd>提供了设备在 alpha,beta, gamma轴方向上旋转的速率的对象。旋转速率的单位为度每秒。</dd> <dt>{{domxref("DeviceMotionEvent.interval")}} {{readonlyinline}}</dt> |
