NgForOfContext
class NgForOfContext<T, U> {
constructor($implicit: T, ngForOf: U, index: number, count: number)
$implicit: T
ngForOf: U
index: number
count: number
first: boolean
last: boolean
even: boolean
odd: boolean
}
构造函数
属性
属性 | 说明 |
---|---|
$implicit: T | Declared in constructor. |
ngForOf: U | Declared in constructor. |
index: number | Declared in constructor. |
count: number | Declared in constructor. |
first: boolean | 只读 |
last: boolean | 只读 |
even: boolean | 只读 |
odd: boolean | 只读 |