arkon / ng-inline-svg

[Inactive] Angular directive for inserting an SVG file inline within an element.
https://echeung.me/ng-inline-svg/
MIT License
210 stars 88 forks source link

Change svg fill color dynamically #51

Closed Jahrenski closed 6 years ago

Jahrenski commented 6 years ago

Quick question : How can we change the fill color dynamically using this system?

arkon commented 6 years ago

This library doesn't do anything in particular that handles that. You can get a reference to the element and manipulate it however you'd like since it's just a regular SVG element in the DOM.