* Deselects every chip in the listbox. * @param skip Chip that should not be deselected.
(skip?: MatChip)
| 334 | * @param skip Chip that should not be deselected. |
| 335 | */ |
| 336 | private _clearSelection(skip?: MatChip): void { |
| 337 | this._chips.forEach(chip => { |
| 338 | if (chip !== skip) { |
| 339 | chip.deselect(); |
| 340 | } |
| 341 | }); |
| 342 | } |
| 343 | |
| 344 | /** |
| 345 | * Finds and selects the chip based on its value. |
no test coverage detected