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

Class App

packages/core/test/change_detection_scheduler_spec.ts:302–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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