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

Function expand

src/cdk/tree/control/base-tree-control.ts:57–59  ·  view source on GitHub ↗

Expands one single data node.

(dataNode: T)

Source from the content-addressed store, hash-verified

55
56 /** Expands one single data node. */
57 expand(dataNode: T): void {
58 this.expansionModel.select(this._trackByValue(dataNode));
59 }
60
61 /** Collapses one single data node. */
62 collapse(dataNode: T): void {

Callers

nothing calls this directly

Calls 1

selectMethod · 0.65

Tested by

no test coverage detected