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

Method _onFocus

src/material/select/select.ts:994–999  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

992 }
993
994 _onFocus() {
995 if (!this.disabled) {
996 this._focused = true;
997 this.stateChanges.next();
998 }
999 }
1000
1001 /**
1002 * Calls the touched callback only if the panel is closed. Otherwise, the trigger will

Callers

nothing calls this directly

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected