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

Method constructor

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

Source from the content-addressed store, hash-verified

2559})
2560class PollutedContext {
2561 constructor(
2562 private tplRef: TemplateRef<any>,
2563 private vcRef: ViewContainerRef,
2564 ) {
2565 const evRef = this.vcRef.createEmbeddedView(this.tplRef);
2566 evRef.context.bar = 'baz';
2567 }
2568}
2569
2570@Directive({

Callers

nothing calls this directly

Calls 1

createEmbeddedViewMethod · 0.65

Tested by

no test coverage detected