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

Method isOpen

src/material/select/testing/select-harness.ts:115–117  ·  view source on GitHub ↗

Gets whether the select is open.

()

Source from the content-addressed store, hash-verified

113
114 /** Gets whether the select is open. */
115 async isOpen(): Promise<boolean> {
116 return !!(await this._documentRootLocator.locatorForOptional(await this._getPanelSelector())());
117 }
118
119 /** Opens the select's panel. */
120 async open(): Promise<void> {

Callers 3

openMethod · 0.95
closeMethod · 0.95

Calls 2

_getPanelSelectorMethod · 0.95
locatorForOptionalMethod · 0.80

Tested by

no test coverage detected