I am trying to animate an Svg path so that it looks like it’s drawing it self on the screen when loaded,
My problem at this point is that I need to somehow figure out the total length of the svg path item at run-time and I can’t find a way to actually track the path and query for it’s length.
var path = document.querySelector (.someclass path) path.getTotalLength();
Anybody found himself in similar situation ? if so how did you dealt with it ?