Radu Cotescu created SLING-7688:
-----------------------------------
Summary: Add support for the in relational operator
Key: SLING-7688
URL: https://issues.apache.org/jira/browse/SLING-7688
Project: Sling
Issue Type: Sub-task
Reporter: Radu Cotescu
Assignee: Radu Cotescu
According to [0], both {{data-sly-list}} and {{data-sly-repeat}} should provide
support for iteration control.
{code:html}
<!--/* Iterate the collections starting from the element at index 5 (6th
element), jumping every 5 elements, until index 100 */-->
<ul data-sly-list="${collection @ begin = 5, step = 5, end = 100}">
<li>${item}</li>
</ul>
<section data-sly-repeat="${collection @ begin = 5, step = 5, end =
100}">${item}</section>
{code}
[0] - https://github.com/Adobe-Marketing-Cloud/htl-spec/issues/55
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)