MCPcopy Index your code
hub / github.com/angular/components / _canOpen

Method _canOpen

src/material/select/select.ts:1322–1324  ·  view source on GitHub ↗

Whether the panel is allowed to open.

()

Source from the content-addressed store, hash-verified

1320
1321 /** Whether the panel is allowed to open. */
1322 protected _canOpen(): boolean {
1323 return !this._panelOpen && !this.disabled && this.options?.length > 0 && !!this._overlayDir;
1324 }
1325
1326 /** Focuses the select element. */
1327 focus(options?: FocusOptions): void {

Callers 1

openMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected