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

Method _handleKeydown

src/material/select/select.ts:897–901  ·  view source on GitHub ↗

Handles all keydown events on the select.

(event: KeyboardEvent)

Source from the content-addressed store, hash-verified

895
896 /** Handles all keydown events on the select. */
897 _handleKeydown(event: KeyboardEvent): void {
898 if (!this.disabled) {
899 this.panelOpen ? this._handleOpenKeydown(event) : this._handleClosedKeydown(event);
900 }
901 }
902
903 /** Handles keyboard events while the select is closed. */
904 private _handleClosedKeydown(event: KeyboardEvent): void {

Callers

nothing calls this directly

Calls 2

_handleOpenKeydownMethod · 0.95
_handleClosedKeydownMethod · 0.95

Tested by

no test coverage detected