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

getRootComponents

function
stable

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

API

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