So I have an svg sprite, which is not visible, that contains all the svg, and in the document it's just
<svg height="100" width="100"><use href="#mySvg"></use></svg>
to call an svg from the sprite.
The problem is the svg gets inside of shadow-root (closed), and I am not able to target individual parts of the svg with js.
I mean, I can target them, but just pointing at the original parts in the sprite, which translates to the svg called in the document, and that creates the problem cause I need to animate on hover, but this way, animating the orginal svg in the sprite, also animates every instance of that svg in the document, and not only the one with hover.
Is there something I am missing? Or is it simply not possible to make such manipulation using an svg sprite?
What alternative do I have if I need plenty of svg and can't put their inline code inside the document?