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

Function ɵɵdomElementEnd

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

Source from the content-addressed store, hash-verified

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