MCPcopy Index your code
hub / github.com/angular/angular / App

Class App

packages/core/test/change_detection_scheduler_spec.ts:300–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 elementRef = inject(ElementRef);
299 }
300 @Component({
301 selector: 'app',
302 template: '<ng-template #ref></ng-template>',
303 })
304 class App {
305 @ViewChild('ref', {read: ViewContainerRef}) viewContainer!: ViewContainerRef;
306 unused = afterEveryRender(() => {
307 renderHookCalls++;
308 });
309
310 ngDoCheck() {
311 doCheckCount++;
312 }
313 }
314 const applicationRef = await bootstrapApplication(App, {
315 providers: [
316 provideZonelessChangeDetection(),

Callers

nothing calls this directly

Calls 4

ComponentInterface · 0.90
afterEveryRenderFunction · 0.90
injectFunction · 0.90
signalFunction · 0.90

Tested by

no test coverage detected