NgFor

Stable

Directive

Class Overview

class NgFor implements DoCheck, OnChanges {
constructor(_viewContainer: ViewContainerRef, _template: TemplateRef<NgForRow>, _differs: IterableDiffers, _cdr: ChangeDetectorRef)

ngForOf : any
ngForTrackBy 
ngForTemplate 
ngOnChanges(changes: SimpleChanges) : void
ngDoCheck() : void

}

Selectors

[ngFor][ngForOf]

Class Description

Constructor

constructor(_viewContainer: ViewContainerRef, _template: TemplateRef<NgForRow>, _differs: IterableDiffers, _cdr: ChangeDetectorRef)

Class Details

exported from @angular/common/index, defined in @angular/common/src/directives/ng_for.ts