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

Method isMultiple

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

Gets whether the option is in multiple selection mode.

()

Source from the content-addressed store, hash-verified

68
69 /** Gets whether the option is in multiple selection mode. */
70 async isMultiple(): Promise<boolean> {
71 return (await this.host()).hasClass('mat-mdc-option-multiple');
72 }
73}

Calls 1

hasClassMethod · 0.65

Tested by

no test coverage detected