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
cls <--
Documentation mentions it, but more code examples would be nice. For example:
val $isSelected: Signal[Boolean] = ??? div(cls <-- $isSelected.map(isSelected => List("x-selected" -> isSelected)))
Also, seeing that a single-boolean use case is quite cumbersome, we might want to provide a syntax shortcut for this use case, for example:
div(cls.toggle("x-selected") <-- $isSelected) div(cls.toggle("x-selected") := true) // maybe this too...?
The text was updated successfully, but these errors were encountered:
Docs: Add a few more examples of cls <-- usage. Fixes #55
cdef816
a63e32d
92536ca
b1ff77c
No branches or pull requests
Documentation mentions it, but more code examples would be nice. For example:
Also, seeing that a single-boolean use case is quite cumbersome, we might want to provide a syntax shortcut for this use case, for example:
The text was updated successfully, but these errors were encountered: