Sitelet https://web.archive.org/web/20240920155557/https://angular.dev/api/core/globals/getListeners/
@angular/core/globals

getListeners

function

Retrieves a list of event listeners associated with a DOM element. The list does include host listeners, but it does not include event listeners defined outside of the Angular context (e.g. through addEventListener).

  
    getListeners(  element: Element): Listener[];
  
  
Jump to details