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

Method isDisabled

src/material/menu/testing/menu-harness.ts:49–52  ·  view source on GitHub ↗

Whether the menu is disabled.

()

Source from the content-addressed store, hash-verified

47
48 /** Whether the menu is disabled. */
49 async isDisabled(): Promise<boolean> {
50 const disabled = (await this.host()).getAttribute('disabled');
51 return coerceBooleanProperty(await disabled);
52 }
53
54 /** Whether the menu is open. */
55 async isOpen(): Promise<boolean> {

Callers 2

Calls 2

coerceBooleanPropertyFunction · 0.90
getAttributeMethod · 0.65

Tested by

no test coverage detected