You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both data-sly-list and data-sly-repeat should be enhanced to provide iteration control through the following additional expression options:
begin - iteration begins at the item located at the specified index; first item of the collection has index 0
step - iteration will only process every step items of the collection, starting with the first one
end - iteration ends at the item located at the specified index (inclusive)
Example usage:
<!--/* Iterate the collections starting from the element at index 5 (6th element), jumping every 5 elements, until index 100 */--><uldata-sly-list="${collection @ begin = 5, step = 5, end = 100}"><li>${item}</li></ul><sectiondata-sly-repeat="${collection @ begin = 5, step = 5, end = 100}">${item}</section>
The text was updated successfully, but these errors were encountered:
Both
data-sly-list
anddata-sly-repeat
should be enhanced to provide iteration control through the following additional expression options:begin
- iteration begins at the item located at the specified index; first item of the collection has index 0step
- iteration will only process every step items of the collection, starting with the first oneend
- iteration ends at the item located at the specified index (inclusive)Example usage:
The text was updated successfully, but these errors were encountered: