linkNgForOfContext
npm Package | @angular/common |
---|---|
Module | import { NgForOfContext } from '@angular/common'; |
Source | common/src/directives/ng_for_of.ts |
linkOverview
class NgForOfContext<T> {
constructor($implicit: T, ngForOf: NgIterable<T>, index: number, count: number)
$implicit: T
ngForOf: NgIterable<T>
index: number
count: number
get first: boolean
get last: boolean
get even: boolean
get odd: boolean
}
linkConstructor
constructor($implicit: T, ngForOf: NgIterable<T>, index: number, count: number)
linkMembers
ngForOf: NgIterable<T>