Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
initialize
Method · 0.95
randomizeValue
Method · 0.45
updateControlValue
Method · 0.45
constructor
Method · 0.45
togglePlaceholderTestValue
Method · 0.45
addKeyword
Method · 0.45
removeKeyword
Method · 0.45
form-field-harness-example.spec.ts
File · 0.45
constructor
Method · 0.45
timepicker-harness-example.spec.ts
File · 0.45
slider-harness-example.spec.ts
File · 0.45
addTab
Method · 0.45
Calls
2
getNativeElement
Method · 0.95
_moveCursorToEndOfInput
Method · 0.95
Tested by
no test coverage detected