Turns out, you can write:
<li repeat.for="index of 10">${index}</li>
or
<li repeat.for="index of itemCount">${index}</li>
and the contents are repeated the number of times indicated in the loop count.
Pretty cool.
Living a principled life.
<li repeat.for="index of 10">${index}</li>
<li repeat.for="index of itemCount">${index}</li>
1 comment:
I had no idea that was possible. Nice!
Post a Comment