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
First, add two forms of adding the class attribute.
class
Single class:
<h1 class="className"></h1>
Array of Classes:
<h1 class="['className', 'otherClass']"></h1>
Next, add support for a class being a conditional statement in an object:
<h1 class="{className: {{condition}}, otherClass: {{condition}} === false}"></h1>
These objects can also be used in the array of classes.
The text was updated successfully, but these errors were encountered:
5208782
add array/conditional classes via m-literal (fixes #14)
e2eda31
kbrsh
No branches or pull requests
First, add two forms of adding the
class
attribute.Single class:
Array of Classes:
Next, add support for a class being a conditional statement in an object:
These objects can also be used in the array of classes.
The text was updated successfully, but these errors were encountered: