MCPcopy Index your code
hub / github.com/angular/components / _getAriaExpanded

Method _getAriaExpanded

src/cdk/tree/tree.ts:1361–1366  ·  view source on GitHub ↗

* Determines the value for `aria-expanded`. * * For non-expandable nodes, this is `null`.

()

Source from the content-addressed store, hash-verified

1359 * For non-expandable nodes, this is `null`.
1360 */
1361 _getAriaExpanded(): string | null {
1362 if (!this._isExpandable()) {
1363 return null;
1364 }
1365 return String(this.isExpanded);
1366 }
1367
1368 /**
1369 * Determines the size of this node's parent's child set.

Callers

nothing calls this directly

Calls 1

_isExpandableMethod · 0.95

Tested by

no test coverage detected