MCPcopy
hub / github.com/rx-angular/rx-angular / insertView

Function insertView

libs/cdk/template/src/lib/list-view-handler.ts:76–86  ·  view source on GitHub ↗
(item: T, index: number, count: number)

Source from the content-addressed store, hash-verified

74 }
75
76 function insertView(item: T, index: number, count: number): void {
77 createEmbeddedView(
78 viewContainerRef,
79 initialTemplateRef,
80 createViewContext(item, {
81 count,
82 index,
83 }),
84 index
85 );
86 }
87}
88
89/**

Callers

nothing calls this directly

Calls 2

createEmbeddedViewFunction · 0.90
createViewContextFunction · 0.85

Tested by

no test coverage detected