MCPcopy Create free account
hub / github.com/angular/angular / apply

Method apply

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

enterViewMethod · 0.95
leaveViewMethod · 0.95
fnFunction · 0.50

Tested by

no test coverage detected