knockout.js - Bind kendoui visible to calculated condition in markup? -


can somehow bind binding 'visible' in markup calculated value in same way possible knockout.js:

<input data-bind="value: somevmprop, visible: (someothervmprop === 'custom')" /> 

the syntax i've tried hasn't worked. want avoid defining calculated field in view model when simple condition inline do.


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

how does one get csharp-sqlite to throw exceptions for duplicates or foreign key constraint violations -

Simple Angular 2 project fails 'Unexpected reserved word' -