Visitar URL original
getRootComponents • Angular
The Wayback Machine - https://web.archive.org/web/20240920155527/https://angular.dev/api/core/globals/getRootComponents/
@angular/core/globals

getRootComponents

function

Retrieves all root components associated with a DOM element, directive or component instance. Root components are those which have been bootstrapped by Angular.

  
    getRootComponents(  elementOrDir: {} | Element): {}[];
  
  
Jump to details