Open billyjov opened 5 years ago
I'm not quite sure I understand what you are asking for here. Could you try explaining it in a bit more detail?
Consider for example a user press on the alt
key that enable some elements on the pages.. We have to do something like this to listen to the keyup
event as soon as the user leave the key.
@HostListener('window:keyup', ['$event'])
aMethod(event: KeyboardEvent): void {
// Do Something
}
A suggestion is to integrate this to the library as an built in feature.
It will be cool if we can watch for combo change. e.g on
keydown
orkeyup
event