Skip to content
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

Token modifier: Inverse token modifier #475

Open
g105b opened this issue Oct 27, 2023 · 0 comments
Open

Token modifier: Inverse token modifier #475

g105b opened this issue Oct 27, 2023 · 0 comments

Comments

@g105b
Copy link
Member

g105b commented Oct 27, 2023

There's already an inverse boolean modifier, so I would like to see an inverse token modifier, so I can toggle a class if a parameter is FALSE rather than TRUE.

<div class="whatever" data-bind:class=":!showWhatever hidden">

rather than:

<div class="whatever" data-bind:class=":hideWhatever hidden">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant