Constructable Stylesheets and LitElement #2220
-
Hello to the Lit Community! |
Beta Was this translation helpful? Give feedback.
Answered by
justinfagnani
Oct 4, 2021
Replies: 1 comment 4 replies
-
The |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
nemethmik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
css
template tag already uses constructable Stylesheets where available. You can also pass a CSSStyleSheet object directly to element styles if you construct one on your own.