MCPcopy Create free account
hub / github.com/UNLINEARITY/Obsidian-CodeSpace / setValues

Method setValues

src/dropdown.ts:193–199  ·  view source on GitHub ↗
(values: string[])

Source from the content-addressed store, hash-verified

191 }
192
193 setValues(values: string[]) {
194 this.selectedValues = new Set(values);
195 this.updateLabel();
196 if (this.dropdownEl) {
197 this.renderDropdown();
198 }
199 }
200
201 getValues(): string[] {
202 return Array.from(this.selectedValues);

Callers 1

renderMethod · 0.95

Calls 2

updateLabelMethod · 0.95
renderDropdownMethod · 0.95

Tested by

no test coverage detected