Help Angular by taking a 1 minute survey!Go to surveyHome

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

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

Properties

Property Description
$implicit: T Declared in constructor.
ngForOf: NgIterable<T> Declared in constructor.
index: number Declared in constructor.
count: number Declared in constructor.
first: boolean Read-only.
last: boolean Read-only.
even: boolean Read-only.
odd: boolean Read-only.