2015-07-27 22:12:30 -07:00
p.location-badge.
exported from <a href='../directives'>angular2/directives</a>
2015-09-01 13:55:47 -07:00
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.36/modules/angular2/src/core/directives/ng_for.ts#L4-L115">angular2/src/core/directives/ng_for.ts (line 4)</a>
2015-07-27 22:12:30 -07:00
:markdown
2015-09-01 13:55:47 -07:00
Common directives shipped with Angular.
2015-07-28 13:28:47 -07:00
.l-main-section
h2 Annotations
.l-sub-section
h3.annotation Directive
pre.prettyprint
code.
2015-09-01 13:55:47 -07:00
@Directive({selector: '[ng-for][ng-for-of]', properties: ['ngForOf'], lifecycle: [LifecycleEvent.DoCheck]})
2015-07-28 13:28:47 -07:00
2015-07-27 22:12:30 -07:00
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
2015-08-06 23:25:42 -07:00
constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef, iterableDiffers: IterableDiffers, cdr: ChangeDetectorRef)
2015-07-27 22:12:30 -07:00
:markdown
.l-sub-section
h3 viewContainer
:markdown
.l-sub-section
h3 templateRef
:markdown
.l-sub-section
2015-08-06 23:25:42 -07:00
h3 iterableDiffers
2015-07-27 22:12:30 -07:00
:markdown
.l-sub-section
h3 cdr
:markdown
.l-sub-section
h3 ngForOf
:markdown
.l-sub-section
2015-09-01 13:55:47 -07:00
h3 doCheck
2015-07-27 22:12:30 -07:00
pre.prettyprint
code.
2015-09-01 13:55:47 -07:00
doCheck()
2015-07-27 22:12:30 -07:00
:markdown