We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to do some render table like:
[:table.table.table-bordered [:tbody [:tr [:th {:colspan "2"} "2"]] [:tr [:th 1] [:th 2]]]]
BUT, after rendered in browser (Chrome), there is no colspan property here, I have no idea what's wrong.
The text was updated successfully, but these errors were encountered:
This is a subtle gotcha, try :col-span instead.
:col-span
React.js supports the attribute as colSpan, which is camelcase, and we just need to convert that to dashes instead.
Sorry, something went wrong.
Similarly, auto-focus must be used instead of autoFocus.
auto-focus
autoFocus
I believe this has been answered, so I'm closing.
No branches or pull requests
I want to do some render table like:
[:table.table.table-bordered
[:tbody
[:tr
[:th {:colspan "2"} "2"]]
[:tr
[:th 1]
[:th 2]]]]
BUT, after rendered in browser (Chrome), there is no colspan property here, I have no idea what's wrong.
The text was updated successfully, but these errors were encountered: