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

Method constructor

packages/core/test/acceptance/after_render_hook_spec.ts:79–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77 viewContainerRef = inject(ViewContainerRef);
78
79 constructor() {
80 afterEveryRender(() => {
81 this.afterRenderCount++;
82 });
83 }
84 }
85
86 const component = createAndAttachComponent(Comp);

Callers

nothing calls this directly

Calls 5

afterEveryRenderFunction · 0.90
afterNextRenderFunction · 0.90
isInAngularZoneMethod · 0.80
updateMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected