DeviceOrientationEvent.gamma

  • Revision slug: DOM/DeviceOrientationEvent.gamma
  • Revision title: DeviceOrientationEvent.gamma
  • Revision id: 70514
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment page created, 49 words added

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;
</pre>
<h3 id="Example" name="Example">Example</h3>
<h3 id="Specification" name="Specification">Specification</h3>
<ul> <li><a class="external" href="http://www.w3.org/TR/orientation-event/" title="http://www.w3.org/TR/orientation-event/">DeviceOrientation Event Specification</a></li>
</ul>
<h3 id="See_also">See also</h3>
<ul> <li>{{ domxref("DeviceOrientationEvent") }}</li>
</ul>
Revert to this revision