MCPcopy
hub / github.com/angular/angular / detectChanges

Function detectChanges

packages/core/test/acceptance/change_detection_spec.ts:1641–1641  ·  view source on GitHub ↗
(f: ComponentFixture<any>)

Source from the content-addressed store, hash-verified

1639
1640 function createOnPushMarkForCheckTests(checkNoChanges: boolean) {
1641 const detectChanges = (f: ComponentFixture<any>) => f.detectChanges(checkNoChanges);
1642
1643 // 1. ngAfterViewInit and ngAfterViewChecked lifecycle hooks run after "OnPushComp" has
1644 // been refreshed. They can mark the component as dirty. Meaning that the "OnPushComp"

Callers 2

setupInputsMethod · 0.50

Calls 1

detectChangesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…