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

Method setValue

src/material/chips/chip-edit-input.ts:37–40  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

35 }
36
37 setValue(value: string) {
38 this.getNativeElement().textContent = value;
39 this._moveCursorToEndOfInput();
40 }
41
42 getValue(): string {
43 return this.getNativeElement().textContent || '';

Callers 15

initializeMethod · 0.95
randomizeValueMethod · 0.45
updateControlValueMethod · 0.45
constructorMethod · 0.45
addKeywordMethod · 0.45
removeKeywordMethod · 0.45
constructorMethod · 0.45
addTabMethod · 0.45

Calls 2

getNativeElementMethod · 0.95

Tested by

no test coverage detected