When the user pressed Tab + Escape key then I wanted to call my function but I couldn't capture this combination. If this combination is not possible then I want one combination with Escape key but those combination are not used in Windows, Ubuntu and Mac. I tried like this: @HostListener('window:keydown', ['$event']) async onkeyDown($event: KeyboardEvent) { if($event.key === 'Tab' && $event.code === 'Escape') { console.log('Tab + Escape keys pressed'); } } I want to capture Tab + Escape key combination. Continue reading...