devlev1980
1/24/2019 - 1:39 PM

Hide autocomplete by pressing on ESCAPE button

@HostListener('document:keydown.escape', ['$event']) onKeydownHandler(evt: KeyboardEvent) {
 	this.showAutocomplete = false;
}