MCPcopy Create free account
hub / github.com/angular/components / _unregisterNode

Method _unregisterNode

src/cdk/tree/tree.ts:829–832  ·  view source on GitHub ↗

Removes the specified node component from the tree's internal registry.

(node: CdkTreeNode<T, K>)

Source from the content-addressed store, hash-verified

827
828 /** Removes the specified node component from the tree's internal registry. */
829 _unregisterNode(node: CdkTreeNode<T, K>) {
830 this._nodes.value.delete(this._getExpansionKey(node.data));
831 this._nodes.next(this._nodes.value);
832 }
833
834 /**
835 * For the given node, determine the level where this node appears in the tree.

Callers

nothing calls this directly

Calls 3

_getExpansionKeyMethod · 0.95
deleteMethod · 0.65
nextMethod · 0.45

Tested by

no test coverage detected