<!-- not working -->
<div class="tata" [removeSVGAttributes]="['fill']" [inlineSVG]="'assets/svg/sprite.svg#schema'"></div>
<!-- working -->
<div class="tata" [removeSVGAttributes]="['fill']" [inlineSVG]="'assets/svg/schema.svg'"></div>
[removeSVGAttributes]="['fill']" property works fine on a single .svg file.
But on this same file encapsulated in a SVG sprite, the fill attributes are no longer removed.
Reproduced with any svg with fill attributes that are sprited with svg-sprite and the "symbol" option
Is this normal ? I understand that you can't overload these attributes on the "use" when loading normally a sprite in the browser, but i though this lib parsed & removed the attributes after svg download and befire insertion in the dom.
Hi there
[removeSVGAttributes]="['fill']"
property works fine on a single .svg file. But on this same file encapsulated in a SVG sprite, the fill attributes are no longer removed.Reproduced with any svg with fill attributes that are sprited with svg-sprite and the "symbol" option
Is this normal ? I understand that you can't overload these attributes on the "use" when loading normally a sprite in the browser, but i though this lib parsed & removed the attributes after svg download and befire insertion in the dom.
Thanks