Lines Matching defs:svg
3 const svgObserver = lozad('.lazy-svg-injection-cs', {
12 // SVGInjector takes over and load the svg element
15 each: function (svg) {
17 // If any error, svg is a string with the error
18 // Example: `Unable to load SVG file: http://doku/_media/ui/preserveaspectratio.svg`
19 if (typeof svg === 'object') {
21 svg.style.cssText = el.style.cssText;
26 dataSet.class.split(" ").forEach(e => svg.classList.add(e));
31 if(svg.style !== 'undefined' ) {
33 svg.style.removeProperty("display");
35 svg.style.setProperty("display", displayValue, displayPriority);