Using different SVG's but loading the same one
pachidev opened this issue · 2 comments
pachidev commented
czeckd commented
I've not been able to reproduce this. In the demo app, what I've done:
constructor(private registry: SvgIconRegistryService) {
this.registry.loadSvg('assets/images/eye.svg', 'eye.icn');
this.registry.loadSvg('assets/images/moon-o.svg', 'moon.icn');
}
And in the template:
<div class="portal">
<svg-icon name="eye.icn"></svg-icon>
<svg-icon name="moon.icn"></svg-icon>
</div>
And both the eye svg and moon svg load as expected.
pachidev commented