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

Method constructor

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

Source from the content-addressed store, hash-verified

2545})
2546class SomeViewport {
2547 constructor(
2548 public container: ViewContainerRef,
2549 templateRef: TemplateRef<SomeViewportContext>,
2550 ) {
2551 container.createEmbeddedView(templateRef, new SomeViewportContext('hello'));
2552 container.createEmbeddedView(templateRef, new SomeViewportContext('again'));
2553 }
2554}
2555
2556@Directive({

Callers

nothing calls this directly

Calls 1

createEmbeddedViewMethod · 0.65

Tested by

no test coverage detected