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

Method isDisabled

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

Whether the menu is disabled.

()

Source from the content-addressed store, hash-verified

170
171 /** Whether the menu is disabled. */
172 async isDisabled(): Promise<boolean> {
173 return (await this.host()).hasClass('mat-mdc-menu-item-disabled');
174 }
175
176 /** Gets the text of the menu item. */
177 async getText(): Promise<string> {

Callers

nothing calls this directly

Calls 1

hasClassMethod · 0.65

Tested by

no test coverage detected