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

Method _isInlineSelect

src/material/input/input.ts:584–587  ·  view source on GitHub ↗

Whether the form control is a native select that is displayed inline.

()

Source from the content-addressed store, hash-verified

582
583 /** Whether the form control is a native select that is displayed inline. */
584 _isInlineSelect(): boolean {
585 const element = this._elementRef.nativeElement as HTMLSelectElement;
586 return this._isNativeSelect && (element.multiple || element.size > 1);
587 }
588
589 private _iOSKeyupListener = (event: Event): void => {
590 const el = event.target as HTMLInputElement;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected