SVG Animation Attributes Glossary
Target Attributes
The target attributes point the parser to the item involved in the animation.
attributeName
—identifies the property for the animation such as fill, radius or an axisattributeType
—points to a namespace location for the attribute. The choices for type are XML or CSSControl Attributes
Control attributes manage the specs of the animation. For example, you use a control attribute to determine the timing of the action.
begin
—start the animationdur
—defines how long the animation will lastend
—ends the animationrestart
—sets parameters for restarting—choosealways
,whenNotactive
ornever
repeatCount
—defines the number of times the animation runsrepeatDur
—defines the duration of the repeated actionfill
—action the element takes after the animation i.e. remove or freezemin
—sets a minimum for the animationmax
—sets a maximum for the animationfrom
—sets a starting value for the animation such as size or coordinateto
—specifies an ending value for the animationvalues
—these are key points separated by semi-colons such as coordinates