Skip to content

Constructable Stylesheets and LitElement #2220

Answered by justinfagnani
nemethmik asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@nemethmik
Comment options

@justinfagnani
Comment options

@nemethmik
Comment options

@nemethmik
Comment options

Answer selected by nemethmik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants