MCPcopy
hub / github.com/angular/components / onContainerClick

Method onContainerClick

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

* Implemented as part of MatFormFieldControl. * @docs-private

(event: MouseEvent)

Source from the content-addressed store, hash-verified

311 * @docs-private
312 */
313 onContainerClick(event: MouseEvent) {
314 if (!this.disabled && !this._originatesFromChip(event)) {
315 this.focus();
316 }
317 }
318
319 /**
320 * Focuses the first chip in this chip grid, or the associated input when there

Callers

nothing calls this directly

Calls 2

focusMethod · 0.95
_originatesFromChipMethod · 0.80

Tested by

no test coverage detected