(value: string, label: string)
| 183 | } |
| 184 | |
| 185 | addOption(value: string, label: string) { |
| 186 | this.options.set(value, label); |
| 187 | if (this.dropdownEl) { |
| 188 | this.renderDropdown(); |
| 189 | } |
| 190 | this.updateLabel(); |
| 191 | } |
| 192 | |
| 193 | setValues(values: string[]) { |
| 194 | this.selectedValues = new Set(values); |
no test coverage detected