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

Function ɵɵdomElementEnd

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

Source from the content-addressed store, hash-verified

276 * @codeGenApi
277 */
278export function ɵɵdomElementEnd(): typeof ɵɵdomElementEnd {
279 const initialTNode = getCurrentTNode()!;
280 ngDevMode && assertDefined(initialTNode, 'No parent node to close.');
281
282 const currentTNode = elementLikeEndShared(initialTNode);
283 ngDevMode && assertTNodeType(currentTNode, TNodeType.AnyRNode);
284
285 if (isSkipHydrationRootTNode(currentTNode)) {
286 leaveSkipHydrationBlock();
287 }
288
289 decreaseElementDepthCount();
290
291 return ɵɵdomElementEnd;
292}
293
294/**
295 * 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