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

Support for template literal for CSS and Template #31

Open
ECorreia45 opened this issue Nov 5, 2022 · 0 comments
Open

Support for template literal for CSS and Template #31

ECorreia45 opened this issue Nov 5, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request feature request something requested by external user

Comments

@ECorreia45
Copy link
Contributor

Current

template = `<button type=“{type}”></button>`

New

template = html`<button type=${type}></button>`

Benefits:

  • syntax highlighting
  • no eval is needed
@ECorreia45 ECorreia45 added enhancement New feature or request feature request something requested by external user labels Nov 5, 2022
@ECorreia45 ECorreia45 self-assigned this Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request something requested by external user
Projects
None yet
Development

No branches or pull requests

1 participant