MCPcopy Index your code
hub / github.com/tkirda/jQuery-Autocomplete / hide

Method hide

src/Autocomplete.ts:476–488  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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[]>();

Callers 7

onBlurMethod · 0.95
onKeyPressMethod · 0.95
onValueChangeMethod · 0.95
suggestMethod · 0.95
selectMethod · 0.95
fixPositionMethod · 0.80

Calls 1

onHintMethod · 0.95

Tested by

no test coverage detected