07-24-2018 06:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-24-2018 06:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
An animation end event does not start on Versa. Is there someone who knows the problem?
(The simulator works normally)
Thanks,
<defs>
<symbol id="demo">
<g id="demogroup" transform="translate(0,0)">
<image id="myDome" href="Dome_2.png" width="100%" height="100%" fill="blue" />
<animateTransform id="myDomeTran" attributeType="translate"
from="0,90" to="0,30" begin="enable" dur="3s" />
</g>
</symbol>
.....
<use id="demoinstance" href="#demo" width="100%" height="100%" />
.....
let myDomeTran = document.getElementById("myDomeTran");
.....
myDomeTran.onanimationend = function(e){
console.log(" end event"); <----- not exec
}
.....
demoinstance.animate("enable");
