How can i test this @HostListener?

前端 未结 0 591
遇见更好的自我
遇见更好的自我 2020-12-01 06:39

I got this code and i dont know how to test it

@HostListener(\'document:keydown.escape\', [\'$event\']) onKeydownHandler(event: KeyboardEvent) {
if (this.acti         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题