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

Method focused

src/material/chips/chip-grid.ts:168–170  ·  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

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

Callers

nothing calls this directly

Calls 1

_hasFocusedChipMethod · 0.80

Tested by

no test coverage detected