Skip to content

Commit e085887

Browse files
Updated ref to Angular docs for @if
1 parent 343de45 commit e085887

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ng-data-binding/index.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ <h4>ng-for (Old Syntax)</h4>
254254
&lt;/ul&gt;
255255
</code>
256256
</pre>
257+
<a class="references" href="https://angular.io/api/common/NgForOf#description" target="_blank">Angular Docs</a>
257258
<h4>&#64;for (Angular v17 onwards)</h4>
258259
<pre>
259260
<code class="html" data-trim>
@@ -265,9 +266,10 @@ <h4>&#64;for (Angular v17 onwards)</h4>
265266
&lt;/ul&gt;
266267
</code>
267268
</pre>
269+
<a class="references" href="https://angular.io/api/core/if" target="_blank">Angular Docs</a>
270+
268271
<p><span class="highlight">Creates an element</span> for every item of the collection.</p>
269272

270-
<a class="references" href="https://angular.io/api/common/NgForOf#description" target="_blank">Angular Docs</a>
271273
<aside class="notes">
272274
*ngFor creates one node in the DOM for each element in myList<br>
273275
Inside of the tag with ngFor you have access to the loop var as to any other var of the component.

0 commit comments

Comments
 (0)