SVG animation does not set attributes as expected -
I am trying to animate the change of the viewport of the SVG element. When a special ellipse is clicked in SVG the viewport changes, so that it is zoomed in on the oval. From my interpretation of the W3C Chetan specification, when Fill = "freeze"
is used, the value will be left in the to
attribute. However, when I use console.log ("After the animation:" + canvas.getAttribute ("viewbox");
the view box
is similar to the first (the animation does zoom in). For additional information, & lt; Chetan & gt;
is added when the oval is clicked on the code that the animation is & lt; Svg & gt;
;
Am I not able to understand the specification well?
Two values for the SVG attribute, base value which you get with Attribute or element.viewBox.baseVal And you can get through animated values, which you can get through element.viewBox.animVal.
If there is no element, the theme of SMIL animation is Animate == Basvel.
SMIL animation affects only animate and it is anemic which is used for rendering.
Comments
Post a Comment