This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 100100 * For example: `item in items` is equivalent to `item in items track by $id(item)`. This implies that the DOM elements
101101 * will be associated by item identity in the array.
102102 *
103- * * `variable in expression as alias_expression` – You can also provide an optional alias expression which will then store the
104- * intermediate results of the repeater after the filters have been applied. Typically this is used to render a special message
105- * when a filter is active on the repeater, but the filtered result set is empty.
106- *
107- * For example: `item in items | filter:x as results` will store the fragment of the repeated items as `results`, but only after
108- * the items have been processed through the filter.
109- *
110103 * For example: `item in items track by $id(item)`. A built in `$id()` function can be used to assign a unique
111104 * `$$hashKey` property to each item in the array. This property is then used as a key to associated DOM elements
112105 * with the corresponding item in the array by identity. Moving the same object in array would move the DOM
119112 * For example: `item in items | filter:searchText track by item.id` is a pattern that might be used to apply a filter
120113 * to items in conjunction with a tracking expression.
121114 *
115+ * * `variable in expression as alias_expression` – You can also provide an optional alias expression which will then store the
116+ * intermediate results of the repeater after the filters have been applied. Typically this is used to render a special message
117+ * when a filter is active on the repeater, but the filtered result set is empty.
118+ *
119+ * For example: `item in items | filter:x as results` will store the fragment of the repeated items as `results`, but only after
120+ * the items have been processed through the filter.
121+ *
122122 * @example
123123 * This example initializes the scope to a list of names and
124124 * then uses `ngRepeat` to display every person:
You can’t perform that action at this time.
0 commit comments