restart

« SVG Attribute reference home

This attribute indicates when animation can or can not restart.

Usage context

Categories Animation timing attribute
Value always | whenNotActive | never
Animatable No
Normative document SVG 1.1 (2nd Edition)
always
The animation can be restarted at any time. This is the default value.
whenNotActive
The animation can only be restarted when it is not active (i.e. after the active end). Attempts to restart the animation during its active duration are ignored.
never
The element cannot be restarted for the remainder of the current simple duration of the parent time container. (In the case of SVG, since the parent time container is the SVG document fragment, then the animation cannot be restarted for the remainder of the document duration.)

Example

Elements

The following elements can use the restart attribute

Document Tags and Contributors

 Contributors to this page: Jeremie
 Last updated by: Jeremie,