@angular/core/global

getComponent

function

Retrieves the component instance associated with a given DOM element.

  
    function getComponent(  element: Element): T;
  
  
Jump to details