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

Method selectViaInteraction

src/material/chips/chip-option.ts:161–163  ·  view source on GitHub ↗

Selects this chip and emits userInputSelection event

()

Source from the content-addressed store, hash-verified

159
160 /** Selects this chip and emits userInputSelection event */
161 selectViaInteraction(): void {
162 this._setSelectedState(true, true, true);
163 }
164
165 /** Toggles the current selected state of this chip. */
166 toggleSelected(isUserInput: boolean = false): boolean {

Callers 2

_selectValueMethod · 0.80

Calls 1

_setSelectedStateMethod · 0.95

Tested by

no test coverage detected