@angular/core

HostListener

decorator

Decorator that declares a DOM event to listen for, and provides a handler method to run when that event occurs.

  
    class HostListener {}
  
  
Jump to details