This attribute indicates the simple duration of the animation.
Categories | Animation timing attribute |
---|---|
Value | <clock-value> | indefinite |
Animatable | No |
Normative document | SVG 1.1 (2nd Edition) |
h
), minutes (m
), seconds (s
) or milliseconds (ms
). It's possible to combine those time representation to provide some complex durations like this: hh:mm:ss.iii
or like this: mm:ss.iii
If the animation does not have a dur
attribute, the simple duration is indefinite. Note that interpolation will not work if the simple duration is indefinite (although this may still be useful for <set>
elements).
The following elements can use the dur
attribute
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/dur