angular-svg-icon
angular-svg-icon copied to clipboard
Handle SVG sprite
Thanks for this great component. I use it to load a bunch of icons. To minimize HTTP requests, I made an SVG sprite. This PR handle that. Any feedback are welcome.
Also, unsure how unloadSvg(url:string)
should work with sprites. If I understand your code, it looks as the cache is the svg file with sprites and then by individual sprite. The unload then should remove all cached sprites if the main svg is unloaded.
Hello! How's it going? This PR seems helpful for me
@katyapavlenko - the PR would need to be updated to resolve the conflicts. I do not have the time to do it myself.
@czeckd Any change to bring this into a version? Loading SVG sprites would be a great addition.
@fynnfeldpausch - No change, it would take some work to refactor to merge into master. At this point, my guess is that it would largely be a rewrite and I do not have the time to do it.