Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/angular/angular
/ setVal
Method
setVal
packages/core/test/change_detection_scheduler_spec.ts:116–119 ·
view source on GitHub ↗
(val: string)
Source
from the content-addressed store, hash-verified
114
cdr = inject(ChangeDetectorRef);
115
val =
'initial'
;
116
setVal(val: string) {
117
this.val = val;
118
this.cdr.markForCheck();
119
}
120
}
121
122
const
fixture =
await
createFixture(TestComponent);
Callers
1
change_detection_scheduler_spec.ts
File · 0.80
Calls
1
markForCheck
Method · 0.80
Tested by
no test coverage detected