The following table lists the members exposed by the SMILAnimationElement object.
Show:
Attributes
Methods
Events
Attribute
Description
accelerate *
Defines a simple acceleration of time for the element. Legal values are floating point values between 0 and 1 (inclusive). The default value is 0 (no acceleration).
Defines a simple deceleration of time for the element. Legal values are floating point values between 0 and 1 (inclusive). The default value is 0 (no deceleration).
dur *
Specifies the simple duration.
end *
Defines an end value for the element that may constrain the active duration.
The fill attribute allows an author to specify that an element should be extended beyond the active duration by freezing the final state of the element.
Acceptable values:
Value
Description
remove
Specifies that the element will not extend past the end of the last instance of the simple duration.
freeze
Specifies that the element will extend past the end of the last instance of the simple duration by "freezing" the element state at that point.
hold
Setting this to "hold" has the same effect as setting to "freeze", except that the element is always frozen to extend to the end of the simple duration of the parent time container of the element (independent of the type of time container).
repeatCount *
Specifies the number of iterations of the simple duration (Numeric value). When set to "indefinite" the element is defined to repeat indefinitely
repeatDur *
Specifies the total duration for repeat (Clock value). When set to "indefinite" the element is defined to repeat indefinitely
speed *
The speed attribute controls the local playback speed of an element, to speed up or slow down the effective rate of play relative to the parent time container.
targetElement
This attribute specifies the target element to be animated.