mozilla
Your Search Results

    Template:AnimationEventProperties

    <%
    
    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><%
    
    } %>
    Search for pages that use Template:AnimationEventProperties to see example use cases and how many pages use this macro.

    Document Tags and Contributors

    Contributors to this page: teoli, ethertank, louisremi, fryn
    Last updated by: teoli,