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

Method isActive

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

Gets whether the option is active.

()

Source from the content-addressed store, hash-verified

63
64 /** Gets whether the option is active. */
65 async isActive(): Promise<boolean> {
66 return (await this.host()).hasClass('mat-mdc-option-active');
67 }
68
69 /** Gets whether the option is in multiple selection mode. */
70 async isMultiple(): Promise<boolean> {

Callers 1

Calls 1

hasClassMethod · 0.65

Tested by

no test coverage detected