NgForOfContext
Class
deprecatedsince v20.0
constructor
NgForOfContext<T, U>@param$implicit
TReference to the current item from the collection.
@paramngForOf
UThe 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).
@paramindex
numberReturns an index of the current item in the collection.
@paramcount
numberReturns total amount of items in the collection.
@returns
NgForOfContext<T, U>$implicit
TReference to the current item from the collection.
ngForOf
UThe 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
numberReturns an index of the current item in the collection.
count
numberReturns total amount of items in the collection.
first
booleanlast
booleaneven
booleanodd
booleanJump to details