Template:AnimationEventProperties

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

Revision Content

<% var el = env.locale; switch (el) { case "yourlocale": %> animationName <%- template("readOnlyInline") %> DOMString (string) The name of the CSS property associated with the transition. elapsedTime <%- template("readOnlyInline") %> Float The amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused. For an "animationstart" event, the elapsedTime is zero unless there was a negative value for animation-delay, in which case the event will be fired with an elapsedTime of (-1 * delay). <% break; default: %> animationName <%- template("readOnlyInline") %> DOMString (string) The name of the CSS property associated with the transition. elapsedTime <%- template("readOnlyInline") %> Float The amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused. For an "animationstart" event, the elapsedTime is zero unless there was a negative value for animation-delay, in which case the event will be fired with an elapsedTime of (-1 * delay). <% } %>

Revision Source

<%

var el = env.locale;

switch (el) {

    case "yourlocale":

%><tr>
  <td><code>animationName</code> <%- template("readOnlyInline") %></td>
  <td>DOMString (string)</td>
  <td>The name of the CSS property associated with the transition.</td>
</tr>
<tr>
  <td><code>elapsedTime</code> <%- template("readOnlyInline") %></td>
  <td>Float</td>
  <td>The amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused. For an "animationstart" event, the elapsedTime is zero unless there was a negative value for <code>animation-delay</code>, in which case the event will be fired with an elapsedTime of (-1 * delay).</td>
</tr><%

        break;
    default:

%><tr>
  <td><code>animationName</code> <%- template("readOnlyInline") %></td>
  <td>DOMString (string)</td>
  <td>The name of the CSS property associated with the transition.</td>
</tr>
<tr>
  <td><code>elapsedTime</code> <%- template("readOnlyInline") %></td>
  <td>Float</td>
  <td>The amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused. For an "animationstart" event, the elapsedTime is zero unless there was a negative value for <code>animation-delay</code>, in which case the event will be fired with an elapsedTime of (-1 * delay).</td>
</tr><%

} %>
Revert to this revision