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

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
}
    

构造函数

constructor($implicit: T, ngForOf: U, index: number, count: number)
      
      constructor($implicit: T, ngForOf: U, index: number, count: number)
    
参数
$implicit T
ngForOf U
index number
count number

属性

属性说明
$implicit: TDeclared in constructor.
ngForOf: UDeclared in constructor.
index: numberDeclared in constructor.
count: numberDeclared in constructor.
first: boolean只读
last: boolean只读
even: boolean只读
odd: boolean只读