07-23-2018 19:08 - edited 07-23-2018 19:11
07-23-2018 19:08 - edited 07-23-2018 19:11
I am having some problems with getting my Versa to show animations on an SVG arc. code below:
<arc id="Min_Arc"
x="35"
y="35"
width="230"
height="230"
fill="#f6ed60"
arc-width="2" start-angle="0" sweep-angle="0" layer="2"
>
<animate id="minAni" attributeName="sweep-angle" begin="enable" dur=".75" final="keep" to="360" from="0"/>
</arc>
I am attempting to trigger this with this javascript:
const minAni = document.getElementById("minAni")
minAni.animate("enable");
This works perfectly on the emulator but has no effect when used on an actual Versa, anyone have any ideas?
Best Answer07-23-2018 19:11 - edited 07-23-2018 20:20
07-23-2018 19:11 - edited 07-23-2018 20:20
slight correction, the to and from are in the animate element not the arc element, sorry about that
Best Answer