Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Animations not working on Versa (works on Emulator)

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&colon;

 

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 Answer
0 Votes
1 REPLY 1

slight correction, the to and from are in the animate element not the arc element, sorry about that

Best Answer
0 Votes