【发布时间】:2015-01-09 09:09:23
【问题描述】:
<svg xmlns="http://www.w3.org/2000/svg">
<title>On end test</title>
<circle r="50" cx="100" cy="100" style="fill: #F00">
<set attributeName="fill" attributeType="CSS" onbegin='alert("onbegin")'
onend='alert("onend")' to="#00F" begin="1s" dur="5s" />
</circle>
</svg>
你可以试试这个代码here
它看起来 onbegin 事件在 IOS 设备上不起作用,这里有人知道吗?
【问题讨论】:
标签: ios svg jquery-animate