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

Function createLContext

packages/core/src/render3/context_discovery.ts:135–137  ·  view source on GitHub ↗

* Creates an empty instance of a `LContext` context

(lView: LView, nodeIndex: number, native: RNode)

Source from the content-addressed store, hash-verified

133 * Creates an empty instance of a `LContext` context
134 */
135function createLContext(lView: LView, nodeIndex: number, native: RNode): LContext {
136 return new LContext(lView[ID], nodeIndex, native);
137}
138
139/**
140 * Takes a component instance and returns the view for that component.

Callers 2

getLContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…