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

NgForOfContext

      
      class NgForOfContext<T, U extends NgIterable<T> = NgIterable<T>> {
  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)
    
参数
$implicit T
ngForOf U
index number
count number

属性

属性说明
$implicit: T声明在构造函数中
ngForOf: U声明在构造函数中
index: number声明在构造函数中
count: number声明在构造函数中
first: boolean只读
last: boolean只读
even: boolean只读
odd: boolean只读