MCPcopy
hub / github.com/angular/angular / apply

Method apply

packages/core/test/render3/view_fixture.ts:217–224  ·  view source on GitHub ↗
(fn: () => void)

Source from the content-addressed store, hash-verified

215 }
216
217 apply(fn: () => void) {
218 this.enterView();
219 try {
220 fn();
221 } finally {
222 this.leaveView();
223 }
224 }
225}
226
227function toDefs(

Callers

nothing calls this directly

Calls 3

enterViewMethod · 0.95
leaveViewMethod · 0.95
fnFunction · 0.50

Tested by

no test coverage detected