163
rated 0 times
[
169]
[
6]
/ answers: 1 / hits: 43055
/ 12 Years ago, tue, july 3, 2012, 12:00:00
I'm trying to show some mark up based on the value of $index
, I can display the value but I can't seem to use it with an if
binding, what's the best approach here?
<!-- ko if: $index===0 -->
<div>some mark up here</div>
<!-- /ko -->
More From » knockout.js