(text: string)
| 933 | container.appendChild(this.inputEl); |
| 934 | } |
| 935 | setPlaceholder(text: string) { this.inputEl.placeholder = text; return this; } |
| 936 | setValue(val: string) { this.inputEl.value = val ?? ''; return this; } |
| 937 | getValue(): string { return this.inputEl.value; } |
| 938 | onChange(cb: (value: string) => void) { this.inputEl.addEventListener('input', () => cb(this.inputEl.value)); return this; } |
no outgoing calls
no test coverage detected