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

Method getParent

src/cdk/tree/tree.ts:1419–1421  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1417 }
1418
1419 getParent(): CdkTreeNode<T, K> | null {
1420 return this._tree._getNodeParent(this) ?? null;
1421 }
1422
1423 getChildren(): CdkTreeNode<T, K>[] | Observable<CdkTreeNode<T, K>[]> {
1424 return this._tree._getNodeChildren(this);

Callers

nothing calls this directly

Calls 1

_getNodeParentMethod · 0.80

Tested by

no test coverage detected