填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

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
}
    

构造函数

constructor($implicit: T, ngForOf: NgIterable<T>, index: number, count: number)
      
      constructor($implicit: T, ngForOf: NgIterable<T>, index: number, count: number)
    
参数
$implicit T
ngForOf NgIterable
index number
count number

属性

属性说明
$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 只读