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

Method isExpanded

src/material/tree/testing/node-harness.ts:34–36  ·  view source on GitHub ↗

Whether the tree node is expanded.

()

Source from the content-addressed store, hash-verified

32
33 /** Whether the tree node is expanded. */
34 async isExpanded(): Promise<boolean> {
35 return coerceBooleanProperty(await (await this.host()).getAttribute('aria-expanded'));
36 }
37
38 /** Whether the tree node is expandable. */
39 async isExpandable(): Promise<boolean> {

Callers 2

expandMethod · 0.95
collapseMethod · 0.95

Calls 2

coerceBooleanPropertyFunction · 0.90
getAttributeMethod · 0.65

Tested by

no test coverage detected