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

Function getOrCreateViewRefs

packages/core/src/linker/view_container_ref.ts:658–660  ·  view source on GitHub ↗
(lContainer: LContainer)

Source from the content-addressed store, hash-verified

656}
657
658function getOrCreateViewRefs(lContainer: LContainer): ViewRef[] {
659 return (lContainer[VIEW_REFS] || (lContainer[VIEW_REFS] = [])) as ViewRef[];
660}
661
662/**
663 * Creates a ViewContainerRef and stores it on the injector.

Callers 3

insertImplMethod · 0.85
removeMethod · 0.85
detachMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected