---
title: DeviceAcceleration
slug: Web/API/DeviceMotionEventAcceleration
tags:
  - API
  - Device
  - Experimental
  - Interface
  - Orienttation
  - Reference
  - events
translation_of: Web/API/DeviceMotionEventAcceleration
translation_of_original: Web/API/DeviceAcceleration
original_slug: Web/API/DeviceAcceleration
---
<div>{{ ApiRef("Device Orientation Events") }}{{SeeCompatTable}}</div>

<p><code>DeviceAcceleration</code>オブジェクトは、3つの軸に沿って発生しているデバイスの加速度についての情報を提供します。</p>

<h2 id="プロパティ">プロパティ</h2>

<dl>
 <dt>{{domxref("DeviceAcceleration.x")}} {{readonlyInline}}</dt>
 <dd>X軸に沿った加速度の大きさ。<strong>読み取り専用。</strong></dd>
 <dt>{{domxref("DeviceAcceleration.y")}} {{readonlyInline}}</dt>
 <dd>Y軸に沿った加速度の大きさ。<strong>読み取り専用。</strong></dd>
 <dt>{{domxref("DeviceAcceleration.z")}} {{readonlyInline}}</dt>
 <dd> Z軸に沿った加速度の大きさ。<strong>読み取り専用。</strong></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>