ldrs
Version:
Tiny HTML and SVG loaders as web components
3 lines (2 loc) • 422 B
JavaScript
function e(e,t){void 0===t&&(t={});var d=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css","top"===d&&n.firstChild?n.insertBefore(s,n.firstChild):n.appendChild(s),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e))}}export{e as s};
//# sourceMappingURL=style-inject.es-BnTDb6vU.js.map