MCPcopy Create free account
hub / github.com/angular/angular / ɵɵdomElementEnd

Function ɵɵdomElementEnd

packages/core/src/render3/instructions/element.ts:277–291  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

275 * @codeGenApi
276 */
277export function ɵɵdomElementEnd(): typeof ɵɵdomElementEnd {
278 const initialTNode = getCurrentTNode()!;
279 ngDevMode && assertDefined(initialTNode, 'No parent node to close.');
280
281 const currentTNode = elementLikeEndShared(initialTNode);
282 ngDevMode && assertTNodeType(currentTNode, TNodeType.AnyRNode);
283
284 if (isSkipHydrationRootTNode(currentTNode)) {
285 leaveSkipHydrationBlock();
286 }
287
288 decreaseElementDepthCount();
289
290 return ɵɵdomElementEnd;
291}
292
293/**
294 * Creates an empty element using {@link domElementStart} and {@link domElementEnd}

Callers 1

ɵɵdomElementFunction · 0.85

Calls 7

getCurrentTNodeFunction · 0.90
assertDefinedFunction · 0.90
elementLikeEndSharedFunction · 0.90
assertTNodeTypeFunction · 0.90
isSkipHydrationRootTNodeFunction · 0.90
leaveSkipHydrationBlockFunction · 0.90

Tested by

no test coverage detected