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

Method open

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

Opens the select's panel.

()

Source from the content-addressed store, hash-verified

118
119 /** Opens the select's panel. */
120 async open(): Promise<void> {
121 if (!(await this.isOpen())) {
122 const trigger = await this.locatorFor(`.${this._prefix}-select-trigger`)();
123 return trigger.click();
124 }
125 }
126
127 /**
128 * Clicks the options that match the passed-in filter. If the select is in multi-selection

Callers 1

clickOptionsMethod · 0.95

Calls 3

isOpenMethod · 0.95
locatorForMethod · 0.80
clickMethod · 0.65

Tested by

no test coverage detected