SVGInjector2
SVGInjector2 copied to clipboard
Fast, caching, dynamic inline SVG DOM injection library
I get an error `Uncaught TypeError: Cannot read property 'split' of null` in Chrome, and `TypeError: i is null [Learn More]` in Firefox, given the following code: document.addEventListener('DOMContentLoaded', function() {...
Hi, when multiple instances of SVGInjector are processing various elements with the same URL, an error upon calling replaceChild() on a null object appears, but the element is inserted properly....
Please, remove this: `//# sourceMappingURL=./dist/svg-injector.map.js` from the `https://cdn.jsdelivr.net/npm/[email protected]/dist/svg-injector.min.js` version … or add the map. 
This is a reference issue, since the old version seems a bit abandoned. https://github.com/iconic/SVGInjector/issues/29 Can you help me sort this out? I can send you my svg file if it...
We had some issues with svg's who's data-src values were dynamic e.g.
I know it's a boundary case but I have 2 angular apps running on a single page, both are using svg-injector and it throws an error if I try loading...
instead of the spritesheet-url, specify a path to a folder
for the angular directive.. use an additional flag/attr so it does not impact performance
Check if external stylesheet contains a styledef with an URL e.g.: ``` .className{ fill: url(#bg-arrow--gradient-yellow-linear-gradient-1); } ``` Since this is most likely from the injected svg make sure to not...
gradients, mask, etc stop to work as soon as a basetag is present on the embedding html-page. In this case, IRI-refs would need to be prefixed by the absolute path.