aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/svg/attribute/repeatcount/index.html
blob: ac96b610cc6ae8cb59be02b4cf05e85b3e811040 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
title: repeatCount
slug: Web/SVG/Attribute/repeatCount
translation_of: Web/SVG/Attribute/repeatCount
---
<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG属性参考</a></p>

<p>这个属性表示动画将发生的次数。</p>

<p>这个属性的值指定了重复的次数。它也可以包括用分数值表示。它的值必须大于0。</p>

<h2 id="用法解释">用法解释</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="row">类别</th>
   <td>动画时间属性</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 id="Example">Example</h2>

<h2 id="Elements">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>