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

Method isDisabled

src/material/chips/testing/chip-harness.ts:57–59  ·  view source on GitHub ↗

Whether the chip is disabled.

()

Source from the content-addressed store, hash-verified

55
56 /** Whether the chip is disabled. */
57 async isDisabled(): Promise<boolean> {
58 return (await this.host()).hasClass('mat-mdc-chip-disabled');
59 }
60
61 /** Delete a chip from the set. */
62 async remove(): Promise<void> {

Calls 1

hasClassMethod · 0.65

Tested by

no test coverage detected