@angular/core/globals

getComponent

function

Retrieves the component instance associated with a given DOM element.

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