loop binding

This binding let you iterate between to values in configurable steps.

sample

<ul>
    <li t:type="Loop" source="loop:0,10,2" value="var:step">
        the ${step} step
    </li>
</ul>

in the above sample loops between range 0 and 10 in a interval of 2, so you can see the 6 following entries 0, 2, 4, 6, 8, 10

parameters

the loop binding may have up to three parameters but min. one

parameter flags description note
start optional the "start" parameter where the loop begins. if parameter is missing, the binding set 0 as start value
end required the "end" parameter where the loop stops.
incrementor optional the "incrementor" parameter says. if parameter is missing, the binding set 1 as incrementor value