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

Uncaught bad template #57

Closed
Dan-Do opened this issue Jan 26, 2022 · 1 comment
Closed

Uncaught bad template #57

Dan-Do opened this issue Jan 26, 2022 · 1 comment

Comments

@Dan-Do
Copy link

Dan-Do commented Jan 26, 2022

I am not sure where is the error. Please look at this https://codepen.io/ali33yukisakura/pen/JjOodXK?editors=1011

@WebReflection
Copy link
Owner

partial attributes are not supported in uhtml (neither in native DOM) ... so you need to write this:

<div class="${'modal-card modal-' + this.props.size}">

not this

<div class="modal-card modal-${this.props.size}">

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