Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easier to use dashes (-) in styles #34

Open
aplavin opened this issue Jun 8, 2023 · 1 comment
Open

Easier to use dashes (-) in styles #34

aplavin opened this issue Jun 8, 2023 · 1 comment

Comments

@aplavin
Copy link

aplavin commented Jun 8, 2023

When interpolating as <tag style=$nt>, the only way to reproduce style keys with dashes I found is to use var"": nt = (var"-webkit-appearance"="slider-vertical",). Is it the recommended way, or there's something more straightforward?

@clarkevans
Copy link
Collaborator

@aplavin : do you have a minimal example? I've not been using HypertextLiteral lately (but I soon will, in the coming weeks).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants