You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, I can do this, but it's using browser support only:
importstylesfrom'./my-element.css';classMyElementextendsLitElement{constructor(){super();// Lit doesn't clobber this, since it has zero stylesthis.shadowRoot.adoptedStyleSheets=[styles];}}
The text was updated successfully, but these errors were encountered:
lit-element should support returning a
CSSStyleSheet
object from the static class getter.styles()
, in order to support the upcoming CSS Modules spec.This behavior should be supported:
Currently, I can do this, but it's using browser support only:
The text was updated successfully, but these errors were encountered: