2015-07-27 22:12:30 -07:00
p.location-badge.
exported from <a href='../change_detection'>angular2/change_detection</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/change_detection/change_detector_ref.ts#L2-L38">angular2/src/core/change_detection/change_detector_ref.ts (line 2)</a>
2015-07-27 22:12:30 -07:00
:markdown
2015-09-01 13:55:47 -07:00
Change detection enables data binding in Angular.
2015-07-27 22:12:30 -07:00
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(_cd: ChangeDetector)
:markdown
.l-sub-section
2015-09-01 13:55:47 -07:00
h3 markForCheck
2015-07-27 22:12:30 -07:00
pre.prettyprint
code.
2015-09-01 13:55:47 -07:00
markForCheck()
2015-07-27 22:12:30 -07:00
:markdown
2015-09-01 13:55:47 -07:00
Request to check all OnPush ancestors.
2015-07-27 22:12:30 -07:00
.l-sub-section
h3 detach
pre.prettyprint
code.
detach()
:markdown
Detaches the change detector from the change detector tree.
The detached change detector will not be checked until it is reattached.
.l-sub-section
h3 reattach
pre.prettyprint
code.
reattach()
:markdown
Reattach the change detector to the change detector tree.
This also requests a check of this change detector. This reattached change detector will be
2015-09-01 13:55:47 -07:00
checked during the next change detection run.
2015-07-27 22:12:30 -07:00