The SVGAnimatedString interface represents string attributes which can be animated from each SVG declaration. You need to create SVG attribute before doing anything else, everything should be declared inside this.
SVGAnimatedString.animVal Read onlyA string representing the animated value of the reflected attribute value. If the given attribute is not currently being animated, it contains the same value as baseVal.
SVGAnimatedString.baseValA string representing the base value of the reflected attribute before applying any animations.
The SVGAnimatedString interface do not provide any specific methods.
SVGScriptElement.href, an object of this type.