MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

repeatCount

这篇翻译不完整。请帮忙从英语翻译这篇文章

« SVG Attribute reference home

这个属性表示动画将发生的次数。

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

用法解释

类别 动画时间属性
Value <number> | "indefinite"
Animatable No
Normative document SVG 1.1 (2nd Edition)

<number>

Real numbers are specified in one of two ways. When used in a stylesheet, a <number> is defined as follows:

number ::= integer
           | [+-]? [0-9]* "." [0-9]+

This syntax is the same as the definition in CSS (CSS2, section 4.3.1).

When used in an SVG attribute, a <number> is defined differently, to allow numbers with large magnitudes to be specified more concisely:

number ::= integer ([Ee] integer)?
           | [+-]? [0-9]* "." [0-9]+ ([Ee] integer)?

Within the SVG DOM, a <number> is represented as a float, SVGNumber or a SVGAnimatedNumber.

Example

Elements

The following elements can use the repeatCount attribute

文档标签和贡献者

 此页面的贡献者: huainanhai
 最后编辑者: huainanhai,