knockout.js if binding with mutiple booleans or logical operator

Here is the syn­tax for check­ing muti­ple con­di­tions with knockout’s if data bindings.

<div data-bind="if: (isFoo() && isBar())"> </div>

<div data-bind="if: (isFoo() && isBar())"> </div>

You may also like...