Template:GestureEventProperties

  • Revision slug: Template:GestureEventProperties
  • Revision title: Template:GestureEventProperties
  • Revision id: 426321
  • Created:
  • Creator: ethertank
  • Is current revision? No
  • Comment

Revision Content

<% var el = env.locale; var path = "/" + el + "/docs/"; switch (el) { case "yourlocale": %> direction <%-template("readOnlyInline")%> unsigned long (int) The direction of the gesture. Read only. delta <%-template("readOnlyInline")%> double (float) The amount by which the gesture moved; for rotation, this value is in degrees. Positive values are clockwise and negative values are counterclockwise. For magnification, this value is implementation-specific, but the value is positive for zooming in and negative for zooming out. <% break; default: %> direction <%-template("readOnlyInline")%> unsigned long (int) The direction of the gesture. Read only. delta <%-template("readOnlyInline")%> double (float) The amount by which the gesture moved; for rotation, this value is in degrees. Positive values are clockwise and negative values are counterclockwise. For magnification, this value is implementation-specific, but the value is positive for zooming in and negative for zooming out. <% } %>

Revision Source

<%

var el = env.locale;
var path = "/" + el + "/docs/";

switch (el) {

    case "yourlocale":

%><tr>
  <td><code>direction</code> <%-template("readOnlyInline")%></td>
  <td>unsigned long (int)</td>
  <td>The <a href="<%- path %>Web/Guide/DOM/Events/Mouse_gesture_events#Direction_constants">direction</a> of the gesture. Read only.</td>
</tr>
<tr>
  <td><code>delta</code> <%-template("readOnlyInline")%></td>
  <td>double (float)</td>
  <td>
    The amount by which the gesture moved; for rotation, this value is in degrees. 
    Positive values are clockwise and negative values are counterclockwise.
    For magnification, this value is implementation-specific, but the value is positive for zooming in and negative for zooming out.</td>
</tr><%

        break;
    default:

%><tr>
  <td><code>direction</code> <%-template("readOnlyInline")%></td>
  <td>unsigned long (int)</td>
  <td>The <a href="/en-US/docs/Web/Guide/DOM/Events/Mouse_gesture_events#Direction_constants">direction</a> of the gesture. Read only.</td>
</tr>
<tr>
  <td><code>delta</code> <%-template("readOnlyInline")%></td>
  <td>double (float)</td>
  <td>
    The amount by which the gesture moved; for rotation, this value is in degrees. 
    Positive values are clockwise and negative values are counterclockwise.
    For magnification, this value is implementation-specific, but the value is positive for zooming in and negative for zooming out.</td>
</tr><%

} %>
Revert to this revision