injectStyle

  • function
steal-css.CSSModule.prototype.injectStyle  

Injects a <style> tag for this module into the document.head.

css.injectStyle()

Creates a new <style> element using the CSSModule's source as the textContent and injects it into the document.head.

Help us improve StealJS by taking our community survey