MCPcopy
hub / github.com/angular/components / expand

Method expand

src/cdk/tree/tree.ts:1460–1464  ·  view source on GitHub ↗

Expands this data node. Implemented for TreeKeyManagerItem.

()

Source from the content-addressed store, hash-verified

1458
1459 /** Expands this data node. Implemented for TreeKeyManagerItem. */
1460 expand(): void {
1461 if (this.isExpandable) {
1462 this._tree.expand(this._data);
1463 }
1464 }
1465
1466 /** Makes the node focusable. Implemented for TreeKeyManagerItem. */
1467 makeFocusable(): void {

Callers 2

isExpandableMethod · 0.95
isExpandedMethod · 0.95

Calls 1

expandMethod · 0.65

Tested by

no test coverage detected