repeatCount

  • Revision slug: SVG/Attribute/repeatCount
  • Revision title: repeatCount
  • Revision id: 94396
  • Created:
  • Creator: Jeremie
  • Is current revision? No
  • Comment 28 words added

Revision Content

« SVG Attribute reference home

This attribute indicates the number of time the animation will take place. 

This attribute's value specifies the number of iterations. It can include partial iterations expressed as fraction values. Its value must be greater than 0.

Usage context

Categories Animation attribute target attribute
Value <number> | "indefinite"
Animatable No
Normative document SVG 1.1 (2nd Edition)

{{ page("/en/SVG/Content_type","Number") }}

Example

Elements

The following elements can use the repeatCount attribute

Revision Source

<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG Attribute reference home</a></p>
<p>This attribute indicates the number of time the animation will take place. </p>
<p>This attribute's value specifies the number of iterations. It can include partial iterations expressed as fraction values. Its value must be greater than 0.</p>
<h2>Usage context</h2>
<table class="standard-table"> <tbody> <tr> <th scope="row">Categories</th> <td>Animation attribute target attribute</td> </tr> <tr> <th scope="row">Value</th> <td><a href="/en/SVG/Content_type#Number" title="https://developer.mozilla.org/en/SVG/Content_type#Number">&lt;number&gt;</a> | "indefinite"</td> </tr> <tr> <th scope="row">Animatable</th> <td>No</td> </tr> <tr> <th scope="row">Normative document</th> <td><a class="external" href="http://www.w3.org/TR/SVG/animate.html#RepeatCountAttribute" title="http://www.w3.org/TR/SVG/animate.html#RepeatCountAttribute">SVG 1.1 (2nd Edition)</a></td> </tr> </tbody>
</table>
<p>{{ page("/en/SVG/Content_type","Number") }}</p>
<h2>Example</h2>
<h2>Elements</h2>
<p>The following elements can use the <code>repeatCount</code> attribute</p>
<ul> <li><a href="/en/SVG/Element#Animation" title="en/SVG/Element#Animation">Animation elements</a> »</li>
</ul>
Revert to this revision