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

Function isExpanded

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

Whether a given data node is expanded or not. Returns true if the data node is expanded.

(dataNode: T)

Source from the content-addressed store, hash-verified

65
66 /** Whether a given data node is expanded or not. Returns true if the data node is expanded. */
67 isExpanded(dataNode: T): boolean {
68 return this.expansionModel.isSelected(this._trackByValue(dataNode));
69 }
70
71 /** Toggles a subtree rooted at `node` recursively. */
72 toggleDescendants(dataNode: T): void {

Callers

nothing calls this directly

Calls 1

isSelectedMethod · 0.65

Tested by

no test coverage detected