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
h('div#id.class1.class2', ...)
ATM, the sel property in Snabbdom-pragma is only related to the html element.
Snabbdom-JSX use something like the following code, to handle something they call Id and static classes (sel attribute)
<div selector="#id.class1.class2" />
Today, you can use the following code to achieve this
<div id="id" class={{ 'class1': true, 'class2': true }} />
The text was updated successfully, but these errors were encountered:
The following code is also working as intended
<div id="id" attrs-class="class1 class2" />
We can also aim to use
<div id="id" class={['class1', 'class2']} />
Sorry, something went wrong.
https://github.com/JedWatson/classnames
No branches or pull requests
ATM, the sel property in Snabbdom-pragma is only related to the html element.
Snabbdom-JSX use something like the following code, to handle something they call Id and static classes (sel attribute)
Today, you can use the following code to achieve this
So, Is this feature requested ?
The text was updated successfully, but these errors were encountered: