I am building an angular 9 application that gets while running, svg file path parameters and I need to dynamically display it on screen.
I need to update the color of the SVG, according to the user's choice dynamically as well. I tried to use the object element:
<object data = "assets/svg/female.svg" type = "image / svg + xml"> </object>
It shows me the svg file, but the style I put doesn't affect at all How can write style to the SVG that come from object element? or Is there another good way to add svg file dynamically? Thanks