docs(common): Add missing entry for NgForOfContext.count (#36046)

`count` is available in `NgForOfContext` but it's missing in the docs.

PR Close #36046
This commit is contained in:
Keen Yee Liau 2020-03-12 13:22:51 -07:00 committed by Misko Hevery
parent a323b9b1a3
commit 36fc28642a
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ export class NgForOfContext<T, U extends NgIterable<T> = NgIterable<T>> {
* more complex then a property access, for example when using the async pipe (`userStreams |
* async`).
* - `index: number`: The index of the current item in the iterable.
* - `count: number`: The length of the iterable.
* - `first: boolean`: True when the item is the first item in the iterable.
* - `last: boolean`: True when the item is the last item in the iterable.
* - `even: boolean`: True when the item has an even index in the iterable.