File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -254,6 +254,7 @@ <h4>ng-for (Old Syntax)</h4>
254
254
</ul>
255
255
</ code >
256
256
</ pre >
257
+ < a class ="references " href ="https://angular.io/api/common/NgForOf#description " target ="_blank "> Angular Docs</ a >
257
258
< h4 > @for (Angular v17 onwards)</ h4 >
258
259
< pre >
259
260
< code class ="html " data-trim >
@@ -265,9 +266,10 @@ <h4>@for (Angular v17 onwards)</h4>
265
266
</ul>
266
267
</ code >
267
268
</ pre >
269
+ < a class ="references " href ="https://angular.io/api/core/if " target ="_blank "> Angular Docs</ a >
270
+
268
271
< p > < span class ="highlight "> Creates an element</ span > for every item of the collection.</ p >
269
272
270
- < a class ="references " href ="https://angular.io/api/common/NgForOf#description " target ="_blank "> Angular Docs</ a >
271
273
< aside class ="notes ">
272
274
*ngFor creates one node in the DOM for each element in myList< br >
273
275
Inside of the tag with ngFor you have access to the loop var as to any other var of the component.
You can’t perform that action at this time.
0 commit comments