docs(aio): fixed case-typo for code (#20196)
This commit is contained in:
parent
3997d97806
commit
8b50ed083c
|
@ -285,7 +285,7 @@ that you reference within the template. The input variables in this example are
|
||||||
The parser translates `let hero`, `let i`, and `let odd` into variables named,
|
The parser translates `let hero`, `let i`, and `let odd` into variables named,
|
||||||
`let-hero`, `let-i`, and `let-odd`.
|
`let-hero`, `let-i`, and `let-odd`.
|
||||||
|
|
||||||
* The microsyntax parser takes `of` and `trackby`, title-cases them (`of` -> `Of`, `trackBy` -> `TrackBy`),
|
* The microsyntax parser takes `of` and `trackBy`, title-cases them (`of` -> `Of`, `trackBy` -> `TrackBy`),
|
||||||
and prefixes them with the directive's attribute name (`ngFor`), yielding the names `ngForOf` and `ngForTrackBy`.
|
and prefixes them with the directive's attribute name (`ngFor`), yielding the names `ngForOf` and `ngForTrackBy`.
|
||||||
Those are the names of two `NgFor` _input properties_ .
|
Those are the names of two `NgFor` _input properties_ .
|
||||||
That's how the directive learns that the list is `heroes` and the track-by function is `trackById`.
|
That's how the directive learns that the list is `heroes` and the track-by function is `trackById`.
|
||||||
|
|
Loading…
Reference in New Issue