()
| 22 | } |
| 23 | |
| 24 | private scheduleUpdate(): void { |
| 25 | if (this.debounceTimer) window.clearTimeout(this.debounceTimer); |
| 26 | this.debounceTimer = window.setTimeout(() => { |
| 27 | this.debounceTimer = null; |
| 28 | this.onChange(); |
| 29 | }, this.debounceMs); |
| 30 | } |
| 31 | |
| 32 | close(): void { |
| 33 | if (this.debounceTimer) { |