Skip to content

Commit 8b50ed0

Browse files
EvanCarrollvicb
authored andcommitted
docs(aio): fixed case-typo for code (angular#20196)
1 parent 3997d97 commit 8b50ed0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aio/content/guide/structural-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ that you reference within the template. The input variables in this example are
285285
The parser translates `let hero`, `let i`, and `let odd` into variables named,
286286
`let-hero`, `let-i`, and `let-odd`.
287287

288-
* The microsyntax parser takes `of` and `trackby`, title-cases them (`of` -> `Of`, `trackBy` -> `TrackBy`),
288+
* The microsyntax parser takes `of` and `trackBy`, title-cases them (`of` -> `Of`, `trackBy` -> `TrackBy`),
289289
and prefixes them with the directive's attribute name (`ngFor`), yielding the names `ngForOf` and `ngForTrackBy`.
290290
Those are the names of two `NgFor` _input properties_ .
291291
That's how the directive learns that the list is `heroes` and the track-by function is `trackById`.

0 commit comments

Comments
 (0)