64
rated 0 times
[
66]
[
2]
/ answers: 1 / hits: 22252
/ 13 Years ago, sun, january 15, 2012, 12:00:00
How can I control the foreach to ignore certain elements by using a comparison?
What I want for example is something like this:
<div data-bind=foreach: entry where (entry.number > 10)>
So what I would want it to do is loop through entry
's but only execute when that current entry
has a number
value of more than 10.
Is this possible to do?
More From » knockout.js