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

Method constructor

packages/core/test/linker/integration_spec.ts:2518–2524  ·  view source on GitHub ↗
(
    public container: ViewContainerRef,
    templateRef: TemplateRef<SomeViewportContext>,
  )

Source from the content-addressed store, hash-verified

2516})
2517class SomeViewport {
2518 constructor(
2519 public container: ViewContainerRef,
2520 templateRef: TemplateRef<SomeViewportContext>,
2521 ) {
2522 container.createEmbeddedView(templateRef, new SomeViewportContext('hello'));
2523 container.createEmbeddedView(templateRef, new SomeViewportContext('again'));
2524 }
2525}
2526
2527@Directive({

Callers

nothing calls this directly

Calls 1

createEmbeddedViewMethod · 0.65

Tested by

no test coverage detected