On this page
NgForOfContext
class
| npm Package | @angular/common | 
|---|---|
| Module | import { NgForOfContext } from '@angular/common'; | 
| Source | common/src/directives/ng_for_of.ts | 
Overview
class NgForOfContext<T> {
  constructor($implicit: T, ngForOf: NgIterable<T>, index: number, count: number)
  $implicit: T
  ngForOf: NgIterable<T>
  index: number
  count: number
  get first: boolean
  get last: boolean
  get even: boolean
  get odd: boolean
}Constructor
constructor($implicit: T, ngForOf: NgIterable<T>, index: number, count: number)
  Members
$implicit: T
  ngForOf: NgIterable<T>
  index: number
  count: number
  get first: boolean
  get last: boolean
  get even: boolean
  get odd: boolean
  © 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
 https://v4.angular.io/api/common/NgForOfContext