Pending Review
Last Updated: 13 Oct 2018 23:44 by ADMIN
Imported User
Created on: 05 Oct 2017 16:25
Category: MVVM
Type: Feature Request
2
Negation Operator on Bindings
I was trying to use negation operator in a binding using MVVM, just like angular does it, for example I am going to use, you could say why don't use "invisible", it could work on this example, but we have some others custom bindings, or some other scenarios were we have to create multiple properties to handle that, which is a pain.
EX
<div id="example-1" data-bind="visible: !IsNotAdmin"></div>
<div id="example-1" data-bind="customBinding: !IsAdmin"></div>
So, are you supporting the negation operator on bindings or are you planning to do it?
0 comments