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

Method _getAriaSet

src/cdk/tree/tree.ts:964–970  ·  view source on GitHub ↗
(node: T)

Source from the content-addressed store, hash-verified

962 }
963
964 private _getAriaSet(node: T) {
965 const key = this._getExpansionKey(node);
966 const parent = this._parents.get(key);
967 const parentKey = parent ? this._getExpansionKey(parent) : null;
968 const set = this._ariaSets.get(parentKey);
969 return set ?? [node];
970 }
971
972 /**
973 * Finds the parent for the given node. If this is a root node, this

Callers 2

_getSetSizeMethod · 0.95
_getPositionInSetMethod · 0.95

Calls 2

_getExpansionKeyMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected