SVGAnimationElement interface is the base interface for all of the animation element interfaces:
This interface also inherits properties from its parent,
requiredExtensionsattribute of the given element.
systemLanguageattribute of the given element.
SVGElementrepresenting the element which is being animated. If no target element is being animated (for example, because the
hrefspecifies an unknown element) the value returned is
This interface also inherits methods from its parent,
Returns a float representing the begin time, in seconds, for this animation element's current interval, if it exists, regardless of whether the interval has begun yet. If there is no current interval, then a
Returns a float representing the current time in seconds relative to time zero for the given time container.
Returns a float representing the number of seconds for the simple duration for this animation. If the simple duration is undefined (e.g., the end time is indefinite), then a
Creates a begin instance time for the current time. The new instance time is added to the begin instance times list. The behavior of this method is equivalent to
Creates a begin instance time for the current time plus the specified offset. The new instance time is added to the begin instance times list.
Creates an end instance time for the current time. The new instance time is added to the end instance times list. The behavior of this method is equivalent to
Creates an end instance time for the current time plus the specified offset. The new instance time is added to the end instance times list.
Listen to these events using
addEventListener() or by assigning an event listener to the
on... handler property of this interface.
Fired when the element local timeline begins to play.
Fired when at the active end of the animation is reached.
Fired when the element's local timeline repeats. It will be fired each time the element repeats, after the first iteration.
|SVG Animations Level 2 |
BCD tables only load in the browser