• Overview
@angular/common

NgForOfContext

Class
  
    class NgForOfContext<T, U extends NgIterable<T> = NgIterable<T>> {}
  
  

$implicit

T

Reference to the current item from the collection.

ngForOf

U

The value of the iterable expression. Useful when the expression is more complex then a property access, for example when using the async pipe (userStreams | async).

index

number

Returns an index of the current item in the collection.

count

number

Returns total amount of items in the collection.

first

boolean

last

boolean

even

boolean

odd

boolean
Jump to details