MCPcopy Create free account
hub / github.com/chieapp/chie / #setSelected

Method #setSelected

src/view/params-view.ts:170–176  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

168 }
169
170 #setSelected(name: string) {
171 const index = this.editor.getItems().indexOf(name);
172 if (index == -1)
173 return;
174 this.editor.selectItemAt(index);
175 this.affects.forEach(p => p.update());
176 }
177
178 #updateDescription() {
179 const value = this.getValue();

Callers 2

updateMethod · 0.95
setValueMethod · 0.95

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected