W3cubDocs

/SVG

restart

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

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/restart