MDN wants to talk to developers like you:


我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。

« 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)
The animation can be restarted at any time. This is the default value.
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.
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.)



The following elements can use the restart attribute


 此頁面的貢獻者: Jeremie
 最近更新: Jeremie,