KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I would like to bind a visible property to be true when one of two conditions are true. Something like the following <tr data-bind="visible: active || $parent.displayDeactive">....</tr> My code works when I do one or the other bindings but not when I put the || in there. I haven't found any documentation that says I can put any logic in this binding, but if I can't do it directly what is the est way to do it since I am binding a property of a template and one object of the $parent viewmodel.
Tags (comma-separated)
Save Edits
Cancel