NgForOfContext

class

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

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

Parameters
$implicit T
ngForOf U
index number
count number

Properties

Property Description
$implicit: T Declared in Constructor
ngForOf: U 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

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v9.angular.io/api/common/NgForOfContext