setStylesheet

fun setStylesheet(shadowRoot: ShadowRoot, text: String)

call this method in add style information from a static String.

Parameters

shadowRoot

the shadowRoot the style is added to

text

your css