These animation attributes apply to the elements set, animate, animateMotion, animateColor and animateTranform.
Animation
Attribute
Values
Initial
Comments
xlink:href
xlink
-
The reference to the SVG object to animate. Overrides direct parent. See note.
Note: If the animation element is the direct child of the the object being animated then using this attribute is redundant. The direct parent of an animation element is the target unless this is set otherwise.
AnimationAttribute
Attribute
Values
Initial
Comments
attributeName
Attribute Name
-
The name of the target attribute to animate.
attributeType
(xml, css, auto)
auto
Sets the namespace used to xml or css. The default, 'auto', ensures the change occurs.
AnimationTiming
Attribute
Values
Initial
Comments
begin
#event-list
none
The event list to begin the animation on.
dur
#duration
0s
The duration of the animation.
end
#event-list
none
The event list to end the animation on.
min
#duration
0
Minimum active duration. The animation will ignore end events until this time is reached. Unsupported by Adobe SVG plugin.
max
#duration
indefinite
Maximum active duration animating. The animation will end when this time is reached. Related to repeatCount. Unsupported by Adobe SVG plugin.
restart
(always | whenNotActive | never)
always
Sets when the animation can be restarted.
repeatCount
(# | indefinite)
0
The number of times to repeat the animation. Fractions are permitted.
repeatDur
(#duration | indefinite)
indefinite
The total duration to repeat the animation for.
fill
(freeze | remove)
remove
Sets if the animation's final value sticks or not, respectively.
AnimationValue
Attribute
Values
Initial
Comments
calcMode
(discrete | linear | paced | spline)
linear
Sets how to interpolate the animation.
values
list
-
semicolon-separated list of values to set the attribute to. See SMIL standard