Whether the menu is disabled.
()
| 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> { |