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
Copy file name to clipboardExpand all lines: SPECIFICATION.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1104,7 +1104,7 @@ Note that the identifier contains the value of the condition as it was (not cast
1104
1104
***Content of element:** repeated as many times as there are items in the attribute value.
1105
1105
***Attribute value:** optional; the item to iterate over; if omitted the content will not be shown.
1106
1106
***Attribute identifier:** optional; customised identifier name to access the item within the list element; if an identifier is not provided, the block element will implicitly make available an `item` identifier to access the element of the current iteration.
1107
-
***Scope:** The identifier set by the `data-sly-list` block element is available only in the element's scope. The identifier will override other identifiers with the same name available in the scope, however their values will be restored once outside of the element's scope.
1107
+
***Scope:** The identifier set by the `data-sly-list` block element is available only in the element's children scope. The identifier will override other identifiers with the same name available in the scope, however their values will be restored once outside of the element's scope.
1108
1108
1109
1109
Repeats the content of the element for each item of the provided object (which can be an array, or any iterable object).
1110
1110
@@ -1160,7 +1160,7 @@ value, allowing to control the iteration through the following options:
1160
1160
***Content of element:** repeated as many times as there are items in the attribute value.
1161
1161
***Attribute value:** optional; the item to iterate over; if omitted the containing element and its content will not be shown.
1162
1162
***Attribute identifier:** optional; customised identifier name to access the item within the repeat element; if an identifier is not provided, the block element will implicitly make available an `item` identifier to access the element of the current iteration.
1163
-
***Scope:** The identifier set by the `data-sly-list` block element is available only in the element's scope. The identifier will override other identifiers with the same name available in the scope, however their values will be restored once outside of the element's scope.
1163
+
***Scope:** The identifier set by the `data-sly-repeat` block element is available only in the element's scope. The identifier will override other identifiers with the same name available in the scope, however their values will be restored once outside of the element's scope.
1164
1164
1165
1165
Repeats the content of the element for each item of the provided object (which can be an array, or any iterable object).
0 commit comments