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

Function renderPlaceholder

packages/core/src/defer/rendering.ts:417–422  ·  view source on GitHub ↗
(lView: LView, tNode: TNode)

Source from the content-addressed store, hash-verified

415
416/** Utility function to render placeholder content (if present) */
417export function renderPlaceholder(lView: LView, tNode: TNode) {
418 const lContainer = lView[tNode.index];
419 ngDevMode && assertLContainer(lContainer);
420
421 renderDeferBlockState(DeferBlockState.Placeholder, tNode, lContainer);
422}
423
424/**
425 * Subscribes to the "loading" Promise and renders corresponding defer sub-block,

Callers 6

ɵɵdeferWhenFunction · 0.90
ɵɵdeferOnImmediateFunction · 0.90
ɵɵdeferOnHoverFunction · 0.90
ɵɵdeferOnInteractionFunction · 0.90
ɵɵdeferOnViewportFunction · 0.90
scheduleDelayedTriggerFunction · 0.90

Calls 2

assertLContainerFunction · 0.90
renderDeferBlockStateFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…