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

Method isDisabled

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

Whether the tree node is disabled.

()

Source from the content-addressed store, hash-verified

42
43 /** Whether the tree node is disabled. */
44 async isDisabled(): Promise<boolean> {
45 return coerceBooleanProperty(await (await this.host()).getProperty('aria-disabled'));
46 }
47
48 /** Gets the level of the tree node. Note that this gets the aria-level and is 1 indexed. */
49 async getLevel(): Promise<number> {

Callers 2

getNodePredicateFunction · 0.45

Calls 2

coerceBooleanPropertyFunction · 0.90
getPropertyMethod · 0.65

Tested by

no test coverage detected