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