pub fn inject_style(this: &HtmlElement, style: &str)
Expand description

Attaches a <style> element with the given content to the element, either to its shadow root (if it exists) or to the custom element itself.

This is an optional helper function; if you use it, you probably want it somewhere in your inject_children function.