Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ setVal
Method
setVal
packages/core/test/change_detection_scheduler_spec.ts:118–121 ·
view source on GitHub ↗
(val: string)
Source
from the content-addressed store, hash-verified
116
cdr = inject(ChangeDetectorRef);
117
val =
'initial'
;
118
setVal(val: string) {
119
this.val = val;
120
this.cdr.markForCheck();
121
}
122
}
123
124
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