Siva Ganesh
Siva Ganesh

Reputation: 143

Container less If Else Condition in knockout.js

  1. How can I write container less if else and nested if else conditions

  2. Please also explain how does it work as normal (if condition) in KO.

Upvotes: 1

Views: 5052

Answers (1)

Michael Best
Michael Best

Reputation: 16688

This has been answered before: How to template If-Else structures in data-bound views?

But, for a true if/else binding, you can check out this Github issue: https://github.com/knockout/knockout/issues/962

Upvotes: 1

Related Questions