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

Method focused

src/material/chips/chip-grid.ts:169–171  ·  view source on GitHub ↗

Whether any chips or the matChipInput inside of this chip-grid has focus.

()

Source from the content-addressed store, hash-verified

167
168 /** Whether any chips or the matChipInput inside of this chip-grid has focus. */
169 override get focused(): boolean {
170 return this._chipInput?.focused || this._hasFocusedChip();
171 }
172
173 /**
174 * Implemented as part of MatFormFieldControl.

Callers

nothing calls this directly

Calls 1

_hasFocusedChipMethod · 0.80

Tested by

no test coverage detected