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

Method _hasFocusedChip

src/material/chips/chip-set.ts:149–151  ·  view source on GitHub ↗

Checks whether any of the chips is focused.

()

Source from the content-addressed store, hash-verified

147
148 /** Checks whether any of the chips is focused. */
149 protected _hasFocusedChip() {
150 return this._chips && this._chips.some(chip => chip._hasFocus());
151 }
152
153 /** Syncs the chip-set's state with the individual chips. */
154 protected _syncChipsState() {

Callers 2

focusedMethod · 0.95
focusedMethod · 0.80

Calls 1

_hasFocusMethod · 0.45

Tested by

no test coverage detected