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

Method constructor

packages/core/test/linker/integration_spec.ts:2532–2538  ·  view source on GitHub ↗
(
    private tplRef: TemplateRef<any>,
    private vcRef: ViewContainerRef,
  )

Source from the content-addressed store, hash-verified

2530})
2531class PollutedContext {
2532 constructor(
2533 private tplRef: TemplateRef<any>,
2534 private vcRef: ViewContainerRef,
2535 ) {
2536 const evRef = this.vcRef.createEmbeddedView(this.tplRef);
2537 evRef.context.bar = 'baz';
2538 }
2539}
2540
2541@Directive({

Callers

nothing calls this directly

Calls 1

createEmbeddedViewMethod · 0.65

Tested by

no test coverage detected