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

Method isDisabled

src/material/core/testing/option-harness.ts:55–57  ·  view source on GitHub ↗

Gets whether the option is disabled.

()

Source from the content-addressed store, hash-verified

53
54 /** Gets whether the option is disabled. */
55 async isDisabled(): Promise<boolean> {
56 return (await this.host()).hasClass('mdc-list-item--disabled');
57 }
58
59 /** Gets whether the option is selected. */
60 async isSelected(): Promise<boolean> {

Callers 2

Calls 1

hasClassMethod · 0.65

Tested by

no test coverage detected