• Revision slug: DOM/DeviceOrientationEvent.gamma
  • Revision title: DeviceOrientationEvent.gamma
  • Revision id: 339905
  • Created:
  • Creator: Yoshino
  • Is current revision? No
  • Comment

Revision Content

Revision Source

<p>{{ DomRef() }}</p>
<h3 id="Summary" name="Summary">Summary</h3>
<p>Returns the rotation of the device around the Y axis; that is, the number of degrees by which the device is turned left or right. See <a href="/en/DOM/Orientation_and_motion_data_explained" title="Orientation and motion data explained">Orientation and motion data explained</a> for details.</p>
<h3 id="Syntax" name="Syntax">Syntax</h3>
<pre class="eval">
<em>var gamma</em> = <em>orientationEvent</em>.gamma;
<h3 id="Example" name="Example">Example</h3>
<h3 id="Specification" name="Specification">Specification</h3>
  <li><a class="external" href="" title="">DeviceOrientation Event Specification</a></li>
<h3 id="See_also">See also</h3>
  <li>{{ domxref("DeviceOrientationEvent") }}</li>
Revert to this revision