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

Function removeViewFromDOM

packages/core/src/render3/node_manipulation.ts:198–202  ·  view source on GitHub ↗
(tView: TView, lView: LView)

Source from the content-addressed store, hash-verified

196 * @param lView The view from which elements should be added or removed
197 */
198export function removeViewFromDOM(tView: TView, lView: LView): void {
199 detachViewFromDOM(tView, lView);
200 lView[HOST] = null;
201 lView[T_HOST] = null;
202}
203
204/**
205 * Adds all DOM elements associated with a view.

Callers 2

recreateFunction · 0.90
detachViewFunction · 0.90

Calls 1

detachViewFromDOMFunction · 0.85

Tested by

no test coverage detected