linkStylesheet

fun linkStylesheet(shadowRoot: ShadowRoot, url: String)

call this method in init to link an external stylesheet.

Parameters

shadowRoot

the shadowRoot the link is added to

url

the URL of your stylesheet