-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Custom HTML attributes #295
Comments
Is this helpful? I am not sure, because it just contains a And if you did not notice yet, it requires a trailing comma: <div uk-spinner-ratio="3", ></div> |
I think my example was a bit misleading. Some UI Frameworks labeling the HTML like this: |
|
@davidkna Are those equivalent in the HTML spec? |
Alright, that solves the problem. Thanks! |
@kellytk yes they are, at least according to the w3c one: http://w3c.github.io/html/infrastructure.html#sec-boolean-attributes |
Thanks @davidkna |
With the latest changes it does not work any more: saschagrunert/webapp.rs#345 Is there a way how to use custom macros with the latest master version of the HTML macro? html! {
<div class="uk-position-center", uk-icon="icon: cloud-download; ratio: 3",></div>
}
|
This should be working on yew 0.7. Here's the corresponding fix: #512 @saschagrunert can you confirm please? |
Yes, it’s fixed. Thank you! |
Hey, is there a way to insert custom html attributes like this:
The text was updated successfully, but these errors were encountered: