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

Method selectViaInteraction

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

Selects this chip and emits userInputSelection event

()

Source from the content-addressed store, hash-verified

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

Callers 2

_selectValueMethod · 0.80

Calls 1

_setSelectedStateMethod · 0.95

Tested by

no test coverage detected