--- title: begin slug: Web/SVG/Attribute/begin tags: - SVG - SVG属性 - 参考 - 需要兼容性表 translation_of: Web/SVG/Attribute/begin ---
这个属性定义了动画何时开始。
这个属性值是一个分号分隔的数列值。SMIL规范的"Evaluation of begin and end time lists"章节详细解释了开始时间数列。每个单独的值可以是下述之一:<offset-value>、 <syncbase-value>、 <event-value>、 <repeat-value>、 <accessKey-value>、 <wallclock-sync-value>或者关键词indefinite。
| 类别 | 动画定时属性 |
|---|---|
| 值 | <begin-value-list> |
| 可变性 | No |
| 规范文档 | SVG 1.1 (2nd Edition) |
<begin-value-list>中的每一个值可以是下述之一:
activate、 click、 mousedown、 mouseup、 mouseover、 mousemove、 mouseout、 DOMSubtreeModified、 DOMNodeInserted、 DOMNodeRemoved、 DOMNodeRemovedFromDocument、 DOMNodeInsertedIntoDocument、 DOMAttrModified、 DOMCharacterDataModified、 SVGLoad、 SVGUnload、 SVGAbort、 SVGError、 SVGResize、 SVGScroll、 SVGZoom、 beginEvent、 endEvent和repeatEvent。下列元素可以使用begin属性: