()
| 474 | } |
| 475 | |
| 476 | hide(): void { |
| 477 | if (this.options.onHide && this.visible) { |
| 478 | this.options.onHide.call(this.element, this.$container); |
| 479 | } |
| 480 | |
| 481 | this.visible = false; |
| 482 | this.selectedIndex = -1; |
| 483 | if (this.onChangeTimeout) { |
| 484 | clearTimeout(this.onChangeTimeout); |
| 485 | } |
| 486 | this.$container.hide(); |
| 487 | this.onHint(null); |
| 488 | } |
| 489 | |
| 490 | private groupSuggestionsByCategory(suggestions: Suggestion[], key: string): Suggestion[] { |
| 491 | const groups = new Map<unknown, Suggestion[]>(); |
no test coverage detected