填寫這份《一分鐘調查》,幫我們(開發組)做得更好!去填寫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唯讀