InterviewSolution
Saved Bookmarks
| 1. |
What is HostListener in Angular? |
|
Answer» HostListener in Angular 6 is basically a decorator which declares a DOM EVENT to LISTEN for and also provide a handler method to run if and when that specific event OCCURS. Host Listener is a SET of arguments that is USED to pass the handler method when an event occurs. |
|